Column Resizing in EJ 1 ASP.NET MVC PivotGrid
24 May 2019 / 1 minute to read
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.
@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.
@Html.EJ().Pivot().PivotGrid("PivotGrid1").ResizeColumnsToFit(true).DataSource(.....)

Was this page helpful?
Yes
No
Thank you for your feedback!
Thank you for your feedback and comments. We will rectify this as soon as possible!
An unknown error has occurred. Please try again.
Help us improve this page