ASPxGridViewSettings.UseFixedTableLayout Property
Gets or sets whether the ASPxGridView’s width can be changed by a browser to display the entire content.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v20.2.dll
NuGet Package: DevExpress.Web
Declaration
Property Value
Type | Default | Description |
---|---|---|
Boolean | **false** | true, if the ASPxGridView’s width is fixed, and cannot be changed by a browser; otherwise, false. |
Property Paths
You can access this nested property as listed below:
Library | Object Type | Path to UseFixedTableLayout |
---|---|---|
ASP.NET Controls and MVC Extensions | ASPxGridView |
|
GridViewProperties |
|
|
ASP.NET Bootstrap Controls | BootstrapGridView |
|
ASP.NET MVC Extensions | GridViewSettings |
|
GridViewSettings<RowType> |
|
|
MVCxGridView |
|
|
MVCxGridViewProperties |
|
Remarks
If the UseFixedTableLayout option is enabled, the fixed table layout algorithm is used (the grid’s table is rendered with the table-layout: fixed attribute). In this instance, the table’s horizontal layout does not depend on the contents of its cells. It only depends on the table’s width, and the width of the columns. So, you must manually specify the widths of the ASPxGridView and its columns.
Note
The UseFixedTableLayout property is not in effect when the column resizing functionality is enabled.