Resizing column in JSP PivotGrid

21 Jun 20221 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