[]
        
(Showing Draft Content)

C1.C1Preview.RenderTable.ColumnSizingMode

ColumnSizingMode Property

ColumnSizingMode

Gets or sets a value determining how the widths of table columns are calculated. The default is Fixed.

Declaration
public TableSizingModeEnum ColumnSizingMode { get; set; }
Remarks

To make a table with automatically calculated columns' widths, set this property to Auto, and the Width on the RenderTable to Auto, e.g.:

RenderTable rt = new RenderTable();
rt.ColumnSizingMode = TableSizingModeEnum.Auto;
rt.Width = Unit.Auto;