Resizing Column

Allows the user to change the column width by holding and dragging the column border using the mouse pointer.

Column Width Based on Size

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

  • cshtml
  • @Html.EJ().Pivot().PivotGrid("PivotGrid1").EnableColumnResizing(true).DataSource(.....)

    Column Width Based on Text

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

  • cshtml
  • @Html.EJ().Pivot().PivotGrid("PivotGrid1").ResizeColumnsToFit(true).DataSource(.....)
    
    ![](Column-Resizing_images/columnresizing.png)