Class TableBlockSettings
Properties specific to Table blocks.
Inherited Members
Namespace: Syncfusion.Blazor.BlockEditor
Assembly: Syncfusion.Blazor.dll
Syntax
public class TableBlockSettings : BlockSettings
Constructors
TableBlockSettings()
Declaration
public TableBlockSettings()
Properties
Columns
Defines the columns of the table, including their types and headers.
Declaration
public List<TableColumnModel> Columns { get; set; }
Property Value
| Type |
|---|
| List<TableColumnModel> |
EnableHeader
Specifies whether to enable header for the table. Default is true.
Declaration
public bool EnableHeader { get; set; }
Property Value
| Type |
|---|
| bool |
EnableRowNumbers
Specifies whether to enable row numbers for the table. Default is true.
Declaration
public bool EnableRowNumbers { get; set; }
Property Value
| Type |
|---|
| bool |
ReadOnly
Specifies whether to render the table in read-only mode, disabling edits.
Declaration
public bool ReadOnly { get; set; }
Property Value
| Type |
|---|
| bool |
Rows
Defines the rows of the table, each containing cells tied to columns.
Declaration
public List<TableRowModel> Rows { get; set; }
Property Value
| Type |
|---|
| List<TableRowModel> |
Width
Sets the table width in percentage or pixel units (e.g., '100%', '500px'). Default is '100%'.
Declaration
public string Width { get; set; }
Property Value
| Type |
|---|
| string |