Skip to main content
A newer version of this page is available. .
Tab

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.v18.2.dll

Declaration

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

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 Bootstrap Controls BootstrapGridView
.Settings.UseFixedTableLayout
ASP.NET Web Forms Controls ASPxGridView
.Settings.UseFixedTableLayout
GridViewProperties
.Settings.UseFixedTableLayout
GridViewSettings
.Settings.UseFixedTableLayout
GridViewSettings<RowType>
.Settings.UseFixedTableLayout
MVCxGridView
.Settings.UseFixedTableLayout
MVCxGridViewProperties
.Settings.UseFixedTableLayout

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.

See Also