Skip to main content

BootstrapGridViewCommandButtonsSettings.HideAdaptiveDetailButton Property

Gets the Hide Adaptive Detail command item’s settings.

Namespace: DevExpress.Web.Bootstrap

Assembly: DevExpress.Web.Bootstrap.v24.1.dll

NuGet Package: DevExpress.Web.Bootstrap

Declaration

[PersistenceMode(PersistenceMode.InnerProperty)]
public BootstrapGridViewAdaptiveCommandButtonSettings HideAdaptiveDetailButton { get; }

Property Value

Type Description
BootstrapGridViewAdaptiveCommandButtonSettings

A BootstrapGridViewAdaptiveCommandButtonSettings object that specifies the button’s settings.

Property Paths

You can access this nested property as listed below:

Object Type Path to HideAdaptiveDetailButton
BootstrapGridView
.SettingsCommandButton .HideAdaptiveDetailButton

Remarks

The Hide Adaptive Detail button collapses an adaptive detail row. Use the HideAdaptiveDetailButton property to specify the button’s image, caption and type.

When the ASPxGridViewAdaptivitySettings.AdaptivityMode property is set to HideDataCells, the BootstrapGridView automatically hides columns one by one when the browser window is resized. When a grid has hidden columns, the Show Adaptive Detail or Hide Adaptive Detail button is displayed for every row. Clicking a button expands or collapses an adaptive detail row containing the hidden data.

BootstrapGridView-ShowHideAdaptiveDetailsButtons

Note

View the Demo To see this feature in action, please refer to the following online demo: Responsive Layout.

See Also