BootstrapGridViewBootstrapSpecificSettings.Striped Property
Specifies whether the grid rows are striped.
Namespace: DevExpress.Web.Bootstrap
Assembly: DevExpress.Web.Bootstrap.v24.1.dll
NuGet Package: DevExpress.Web.Bootstrap
Declaration
Property Value
Type | Default | Description |
---|---|---|
Boolean | false | true, to stripe the grid rows; otherwise, false. |
Property Paths
You can access this nested property as listed below:
Object Type | Path to Striped |
---|---|
BootstrapGridView |
|
Remarks
Note
View the Demo To see this feature in action, please refer to the following online demo: Striped.
The Striped property does not work as expected in the following scenarios:
- The adaptivity functionality is enabled (i.e. the BootstrapGridView.SettingsAdaptivity settings are defined).
- A preview row is used (i.e. the ASPxGridViewSettings.ShowPreview is set to true).
- A detail row is used (i.e. the ASPxGridView.SettingsDetail settings are defined).
- Grouping is enabled (i.e. the DevExpress.Web.GridViewDataC,olumnSettings.AllowGroup property is set to true).
As a workaround for these scenarios, don’t use the Striped property, but implement your own CSS class and then apply this class to the HtmlRowPrepared event handler.
See Also