Skip to main content
All docs
V25.1
  • DxHtmlEditor.TableResizeEnabled Property

    Specifies whether users can resize tables.

    Namespace: DevExpress.Blazor

    Assembly: DevExpress.Blazor.v25.1.dll

    NuGet Package: DevExpress.Blazor

    Declaration

    [DefaultValue(false)]
    [Parameter]
    public bool TableResizeEnabled { get; set; }

    Property Value

    Type Default Description
    Boolean false

    true to allow users to resize tables; otherwise, false.

    Remarks

    Enable the TableResizeEnabled property to allow users to resize tables. In code, you can use TableColumnMinWidth and TableRowMinHeight properties to specify minimum column width and row height.

    Example

    The following code snippet allows users to resize tables and configures the minimum column width and row height:

    HTML Editor - Table Resize

    <DxHtmlEditor Markup="@markup"
                  TableResizeEnabled="true"
                  TableColumnMinWidth="100"
                  TableRowMinHeight="50"
                  Height="500px"
                  Width="100%" />
    
    @code {
        string markup = "";
        protected override void OnInitialized() {
            markup = GetData();
        }
    }
    
    See Also