UI changes persistent: save columns' widths


About to make UI changes persistent:
when syncing with server, I’d send the columns’ widths so I could load them on next usage.
Already implemented for sorting by submitting mygrid.getSortingState(); to the server.

How to do the same for columns’ widths? Which get() function to use?

I think that I will be able to do the initialization via usual:


on next load?


Yes, you may try to realize this through the getColWidth, setInitWidths.

But also you may try to perform that using enableAutoSizeSaving.
Look here http://docs.dhtmlx.com/doku.php?id=dhtmlxgrid:cookies_operations