Column resizing

Allows you to resize the column by changing its width while holding and dragging the column border by using the mouse.

Column Width Based on Size

The property EnableColumnResizing adjusts the width of each column based on the size of the widget.

  • html
  • <ej:PivotGrid ID="PivotGrid1" EnableColumnResizing="true" runat="server" ClientIDMode="Static">
        //...
    </ej:PivotGrid>

    Column Width Based on Text

    The property ResizeColumnsToFit automatically adjusts the width of each column based on the maximum content length available in the respective column.

  • html
  • <ej:PivotGrid ID="PivotGrid1" ResizeColumnsToFit="true" runat="server" ClientIDMode="Static">
        //...
    </ej:PivotGrid>

    Column resizing in ASP NET pivot grid control