Gets or sets a value determining how the widths of table columns are
calculated. The default is Fixed.
Namespace:
C1.C1PreviewAssembly: C1.C1Report.2 (in C1.C1Report.2.dll)
Syntax
C# |
---|
public TableSizingModeEnum ColumnSizingMode { get; set; } |
Visual Basic |
---|
Public Property ColumnSizingMode As TableSizingModeEnum 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.:
Copy CodeC#
RenderTable rt = new RenderTable();
rt.ColumnSizingMode = TableSizingModeEnum.Auto;
rt.Width = Unit.Auto; |