Resizing column

24 May 20191 minute to read

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

Column width based on size

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

  • html
  • <div class="cols-sample-area">
    <ej:pivotGrid id="PivotGrid1" enableColumnResizing="true">
    	//...
    </ej:pivotGrid>
    </div>

    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.

  • html
  • <div class="cols-sample-area">
    <ej:pivotGrid id="PivotGrid1" resizeColumnsToFit="true">
    	//...
    </ej:pivotGrid>
    </div>

    Column resizing in JSP pivot grid control