Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DxHtmlEditor.TableColumnMinWidth Property

Specifies the minimum width of table columns.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

#Declaration

C#
[DefaultValue(40)]
[Parameter]
public int TableColumnMinWidth { get; set; }

#Property Value

Type Default Description
Int32 40

The minimum column width in pixels.

#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.

Note

Column width may depend on content. Tables don’t trim content; they can only wrap content at standard breakpoints (whitespaces).

#Example

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

<DxHtmlEditor Markup="@markup"
              TableResizeEnabled="true"
              TableColumnMinWidth="100"
              TableRowMinHeight="50"
              Height="500px"
              Width="100%" />

@code {
    string markup = "";
    protected override void OnInitialized() {
        markup = GetData();
    }
}
See Also