HtmlEditorToolbarGroupNames.Table Property
Gets the name of the Table group.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v24.1.dll
NuGet Package: DevExpress.Blazor
Declaration
public static string Table { get; }
Property Value
Type | Description |
---|---|
String | The “Table” string. |
Remarks
The Table group in the HtmlEditor‘s toolbar includes the following items:
- Show Insert Table Dialog
- The button invokes the Insert Table dialog that allows users to add a table to a document.
- Insert Table Row Above
- The button inserts a row above the selected row.
- Insert Table Row Below
- The button inserts a row below the selected row.
- Insert Table Column to the Left
- The button inserts a column to the left of the selected column.
- Insert Table Column to the Right
- The button inserts a column to the right of the selected column.
- Insert Table Header Row
- The button inserts a header row to the table.
- Delete Table
- The button deletes the selected table.
- Delete Table Row
- The button deletes the selected table row.
- Delete Table Column
- The 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