Auto size all columns whenever new rows are loaded
The following example calls autoSizeColumns after the successCallback of getRows, so every time you are receiving new row data, the grid can adjust the width of the columns. This will also take effect in first load, avoiding the issue of data not being loaded yet inside onGridReady.
https://plnkr.co/edit/YFvXXDYq17ZWX3Vy
Comments
0 comments
Please sign in to leave a comment.