Skip to main content

BootstrapGridViewBootstrapSpecificSettings.Striped Property

Specifies whether the grid rows are striped.

Namespace: DevExpress.Web.Bootstrap

Assembly: DevExpress.Web.Bootstrap.v23.2.dll

NuGet Package: DevExpress.Web.Bootstrap

Declaration

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

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
.SettingsBootstrap .Striped

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:

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.

.myGridOddRow {
       background-color: rgba(0, 0, 0, 0.05);
 }
See Also