blazor-devexpress-dot-blazor-dot-htmleditortoolbargroupnames-034bafcd.md
Gets the name of the Table group.
Namespace : DevExpress.Blazor
Assembly : DevExpress.Blazor.v25.2.dll
NuGet Package : DevExpress.Blazor
public static string Table { get; }
| Type | Description |
|---|---|
| String |
The “Table” string.
|
The Table group in the HtmlEditor‘s toolbar includes the following items:
Show Insert Table DialogThe button invokes the Insert Table dialog that allows users to add a table to a document.Insert Table Row AboveThe button inserts a row above the selected row.Insert Table Row BelowThe button inserts a row below the selected row.Insert Table Column to the LeftThe button inserts a column to the left of the selected column.Insert Table Column to the RightThe button inserts a column to the right of the selected column.Insert Table Header RowThe button inserts a header row to the table.Delete TableThe button deletes the selected table.Delete Table RowThe button deletes the selected table row.Delete Table ColumnThe button deletes the selected table column.
Use the Table property to perform the following operations:
The following code snippet removes all items from the toolbar’s Table group:
<DxHtmlEditor Width="100%"
Height="200px"
CustomizeToolbar="@OnCustomizeToolbar"/>
@code {
void OnCustomizeToolbar(IToolbar toolbar) {
IBarGroup tableGroup = toolbar.Groups[HtmlEditorToolbarGroupNames.Table];
tableGroup.Items.Clear();
}
}
See Also
HtmlEditorToolbarGroupNames Class