Back to Devexpress

ASPxGridViewSettings.UseFixedTableLayout Property

aspnet-devexpress-dot-web-dot-aspxgridviewsettings-f86f3785.md

latest2.4 KB
Original Source

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

NuGet Package : DevExpress.Web

Declaration

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

Property Value

TypeDefaultDescription
Booleanfalse

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 TypePath 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

Grid View

ASPxGridView Fixed Table Layout Specifics (Scrolling and Column Resizing)

ASPxGridViewSettings Class

ASPxGridViewSettings Members

DevExpress.Web Namespace