Frozen header

24 May 20191 minute to read

Allows you to freeze the header of the grid, so that it will be always visible when scrolling the content with a large number of rows or columns to provide a precise view.

  • HTML
  • <ej:PivotGrid ID="PivotGrid1" runat="server">
        <%--...--%>
        <FrozenHeaderSettings EnableFrozenHeaders="true"></FrozenHeaderSettings>
    </ej:PivotGrid>

    Frozen header, aka Freeze headers support in ASP NET pivot grid control

    You can also freeze the row/column headers individually by setting the below properties:

  • HTML
  • <ej:PivotGrid ID="PivotGrid1" runat="server">
        <%--...--%>
        <FrozenHeaderSettings EnableFrozenRowHeaders="true"></FrozenHeaderSettings>  <%--To Freeze the Row headers--%>
    </ej:PivotGrid>

    Frozen row headers in ASP NET pivot grid control

  • HTML
  • <ej:PivotGrid ID="PivotGrid1" runat="server">
        <%--...--%>
        <FrozenHeaderSettings EnableFrozenColumnHeaders="true"></FrozenHeaderSettings> <%--To Freeze the Column headers--%>
    </ej:PivotGrid>

    Frozen column headers in ASP NET pivot grid control

    We can also set the size of the scroller (horizontal and vertical) in PivotGrid by using below property.

  • HTML
  • <ej:PivotGrid ID="PivotGrid1" runat="server">
        <%--...--%>
        <FrozenHeaderSettings ScrollerSize=18></FrozenHeaderSettings>
    </ej:PivotGrid>

    Scroller size in ASP NET pivot grid control