Skip to main content
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.v24.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:

Object Type Path to UseFixedTableLayout
ASPxGridView
.Settings .UseFixedTableLayout
GridViewProperties
.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