Skip to main content
Tab

ASPxGridViewDetailSettings.ShowDetailRow Property

Gets or sets whether the ASPxGridView can display detail rows.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

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

Property Value

Type Default Description
Boolean false

true to allow expanding detail rows; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to ShowDetailRow
ASPxGridView
.SettingsDetail .ShowDetailRow
GridViewProperties
.SettingsDetail .ShowDetailRow

Remarks

Be default, all data rows within the ASPxGridView are collapsed. They can be expanded by end-users or in code to display detail rows. This functionality is disabled if the ShowDetailRow property is set to false.

For more information, see Expanding and Collapsing Detail Rows.

View Example: Grid View for ASP.NET Web Forms - Simple master-detail implementation

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ShowDetailRow property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also