There is no way to set the width dynamically, but you can change the resizeStop code that I posted to to create the appropriate method. In the demo , the column width of the subgrade will change depending on the column width if the main grid. Thus, the resizeStop callback code simply sets the width of some grid column (subgrid in the case) to a new value. This is exactly what you need to set width dynamically.
If you just need to save the column for the page and use the last choice of user width the next time you load the same page, you can create a grid with the corresponding width of each column. Check out the demo from and another . If you change the column width of some columns and reload the page, you will see a grid with the last changed widths. I think this is something you can use.
source share