How to retain the state of column width after resizing it in Datatable.
How to retain the state of column width after resizing it in Datatable.
SorathiyaKinjal
Posts: 2Questions: 1Answers: 0
Lets say I am on one page with datatable and resizing the column.Now i am moving to another page and come back to previous page at that time I need to retain the column resize.
This discussion has been closed.
Answers
What do you do to resize the column (what method you use)?
It Man
Hi @SorathiyaKinjal ,
stateSave
can be used to retain table state information. By default, this won't include column spacing, but you can add to the default set withstateSaveParams
.stateLoadParams
could then be used to read that changed value and modify the table again,Hope that helps,
Cheers,
Colin
@xtech_dev
Using the colresizable 1.6.0 version for resizing the columns manually.