Back to Devexpress

GridViewColumn.AllowTextTruncationInAdaptiveMode Property

aspnet-devexpress-dot-web-dot-gridviewcolumn-ab831a66.md

latest1.9 KB
Original Source

GridViewColumn.AllowTextTruncationInAdaptiveMode Property

Specifies whether the column’s text can be truncated in adaptive mode.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

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

Property Value

TypeDefaultDescription
Booleanfalse

true to allow text truncation; false to show the column with full text only.

|

Remarks

When the ASPxGridViewAdaptivitySettings.AdaptivityMode property is set to HideDataCells the grid provides a responsive layout. In this case, the grid automatically calculates the width of the visible columns when the browser window is resized, and if the column width does not fit the window, the grid hides columns one by one (based on the GridViewColumn.AdaptivePriority property value).

Set the AllowTextTruncationInAdaptiveMode property to true to exclude the current column from the width calculation. Therefore, the column’s text can be truncated in adaptive mode.

See Also

Adaptivity

GridViewColumn Class

GridViewColumn Members

DevExpress.Web Namespace