Skip to main content
All docs
V24.2

DxPivotTable.CssClass Property

Assigns a CSS class to the Pivot Table.

Namespace: DevExpress.Blazor.PivotTable

Assembly: DevExpress.Blazor.PivotTable.v24.2.dll

NuGet Package: DevExpress.Blazor.PivotTable

Declaration

[DefaultValue(null)]
[Parameter]
public string CssClass { get; set; }

Property Value

Type Default Description
String null

CSS class names delimited by spaces.

Remarks

The CssClass property allows you to customize the Pivot Table’s appearance. The assigned CSS class is added to the Pivot Table’s root element. Refer to the following topic for more information: CSS Classes.

@rendermode InteractiveServer

<style>
    .my-style {
        height: 700px
    }
</style>

<DxPivotTable Data="SalesData"
              CssClass="my-style">
    <Fields>
        @*...*@
    </Fields>
</DxPivotTable>

Implements

See Also