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

Declaration

[DefaultValue(false)]
public bool UseFixedTableLayout { get; set; }
<DefaultValue(False)>
Public Property UseFixedTableLayout As Boolean

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