# RadzenHtmlEditorTable Class

A tool which inserts tables in a [RadzenHtmlEditor](https://blazor.radzen.com/docs/api/Radzen.Blazor.RadzenHtmlEditor.md).

Namespace: [Radzen.Blazor](https://blazor.radzen.com/docs/api/Radzen.Blazor.md)

Assembly: Radzen.Blazor.dll

## Inheritance

- Object
- ComponentBase
- RadzenHtmlEditorButtonBase
- RadzenHtmlEditorTable

## Implements

- IComponent
- IHandleEvent
- IHandleAfterRender

## Syntax

```csharp
public class RadzenHtmlEditorTable : RadzenHtmlEditorButtonBase, IComponent, IHandleEvent, IHandleAfterRender
```

## Examples

```razor
<RadzenHtmlEditor @bind-Value=@html>
 <RadzenHtmlEditorTable />
</RadzenHtmlEditor>
@code {
  string html = "@lt;strong>Hello</strong> world!";
}
```

## Constructors

| Constructor | Description |
|-------------|-------------|
| `public RadzenHtmlEditorTable()` | A tool which inserts tables in a [RadzenHtmlEditor](https://blazor.radzen.com/docs/api/Radzen.Blazor.RadzenHtmlEditor.md). |

## Properties

| Property | Type | Description |
|------|------|-------------|
| BorderBottomText | `string` | Specifies the text of the bottom border checkbox. Falls back to TableStrings when available, otherwise a localized default. |
| BorderColorText | `string` | Specifies the text of the label for the border color. Falls back to TableStrings when available, otherwise a localized default. |
| BorderLeftText | `string` | Specifies the text of the left border checkbox. Falls back to TableStrings when available, otherwise a localized default. |
| BorderRightText | `string` | Specifies the text of the right border checkbox. Falls back to TableStrings when available, otherwise a localized default. |
| BorderStyleText | `string` | Specifies the text of the label for the border style. Falls back to TableStrings when available, otherwise a localized default. |
| BorderText | `string` | Specifies the text of the label for the table border. Falls back to TableStrings when available, otherwise a localized default. |
| BorderTopText | `string` | Specifies the text of the top border checkbox. Falls back to TableStrings when available, otherwise a localized default. |
| BorderWidthPxText | `string` | Specifies the text of the label for the border width in pixels. Falls back to TableStrings when available, otherwise a localized default. |
| CancelText | `string` | Specifies the text of button which cancels table insertion and closes the dialog. Falls back to TableStrings when available, otherwise a localized default. |
| CellBackgroundText | `string` | Specifies the text of the label for the selected cell background. Falls back to TableStrings when available, otherwise a localized default. |
| CellBorderText | `string` | Specifies the text of the label for the selected cell border. Falls back to TableStrings when available, otherwise a localized default. |
| CellPaddingPxText | `string` | Specifies the text of the label for cell padding in pixels. Falls back to TableStrings when available, otherwise a localized default. |
| CellPaddingText | `string` | Specifies the text of the label for the selected cell padding. Falls back to TableStrings when available, otherwise a localized default. |
| CellTextAlignText | `string` | Specifies the text of the label for horizontal cell alignment. Falls back to TableStrings when available, otherwise a localized default. |
| CellVerticalAlignText | `string` | Specifies the text of the label for vertical cell alignment. Falls back to TableStrings when available, otherwise a localized default. |
| ColumnWidthPxText | `string` | Specifies the text of the label for column width in pixels. Falls back to TableStrings when available, otherwise a localized default. |
| ColumnWidthText | `string` | Specifies the text of the label for the selected column width. Falls back to TableStrings when available, otherwise a localized default. |
| ColumnsText | `string` | Specifies the text of the label for the number of columns. Falls back to TableStrings when available, otherwise a localized default. |
| DefaultBorder | `int` | Specifies the default table border. Set to 1 by default. |
| DefaultColumns | `int` | Specifies the default number of columns. Set to 2 by default. |
| DefaultHeaderRow | `bool` | Specifies whether the inserted table should contain a header row by default. Set to true by default. |
| DefaultRows | `int` | Specifies the default number of rows. Set to 2 by default. |
| DefaultWidth | `string` | Specifies the default width of the inserted table. Set to "100%" by default. |
| DeleteColumnText | `string` | Specifies the text of the button which deletes the current column. Falls back to TableStrings when available, otherwise a localized default. |
| DeleteRowText | `string` | Specifies the text of the button which deletes the current row. Falls back to TableStrings when available, otherwise a localized default. |
| DeleteTableText | `string` | Specifies the text of the button which deletes the current table. Falls back to TableStrings when available, otherwise a localized default. |
| EditText | `string` | Specifies the text of the table edit section. Falls back to TableStrings when available, otherwise a localized default. |
| HeaderRowText | `string` | Specifies the text of the header row checkbox. Falls back to TableStrings when available, otherwise a localized default. |
| InsertColumnLeftText | `string` | Specifies the text of the button which inserts a column to the left. Falls back to TableStrings when available, otherwise a localized default. |
| InsertColumnRightText | `string` | Specifies the text of the button which inserts a column to the right. Falls back to TableStrings when available, otherwise a localized default. |
| InsertRowAboveText | `string` | Specifies the text of the button which inserts a row above the current row. Falls back to TableStrings when available, otherwise a localized default. |
| InsertRowBelowText | `string` | Specifies the text of the button which inserts a row below the current row. Falls back to TableStrings when available, otherwise a localized default. |
| MergeDownText | `string` | Specifies the text of the button which merges the current cell with the cell below. Falls back to TableStrings when available, otherwise a localized default. |
| MergeRightText | `string` | Specifies the text of the button which merges the current cell with the cell to the right. Falls back to TableStrings when available, otherwise a localized default. |
| OkText | `string` | Specifies the text of button which inserts the table. Falls back to TableStrings when available, otherwise a localized default. |
| RowsText | `string` | Specifies the text of the label for the number of rows. Falls back to TableStrings when available, otherwise a localized default. |
| SplitCellText | `string` | Specifies the text of the button which splits the current merged cell. Falls back to TableStrings when available, otherwise a localized default. |
| Title | `string` | Specifies the title (tooltip) displayed when the user hovers the tool. Falls back to TableStrings when available, otherwise a localized default. |
| UpdateText | `string` | Specifies the text of button which updates the selected table. Falls back to TableStrings when available, otherwise a localized default. |
| WidthText | `string` | Specifies the text of the label for the table width. Falls back to TableStrings when available, otherwise a localized default. |

## Methods

| Method | Returns | Description |
|------|---------|-------------|
| `BuildRenderTree(Rendering.RenderTreeBuilder __builder)` | `void` |  |
| `OnClick()` | `Task` |  |

## Inherited Members

- From RadzenHtmlEditorButtonBase: CommandName, Dispose, Editor, Localize, OnInitialized, Shortcut
- From ComponentBase: Assets, AssignedRenderMode, DispatchExceptionAsync, InvokeAsync, OnAfterRender, OnAfterRenderAsync, OnInitializedAsync, OnParametersSet, OnParametersSetAsync, RendererInfo, SetParametersAsync, ShouldRender, StateHasChanged

