I see that the user can add/remove columns in the grid at runtime. Sort, change size, and change column position by moving the column.
Is there any way to allow the user to save that layout to a database, then be able to recall one of their many layouts?
1 Answers
Hi,
We’ve similar demo that saves all grid settings in session and reload from it. You can replace session with your database query.
https://www.gridphp.com/demo/demos/misc/persist-settings-db.phps
Line 10-32 (ajax callbacks to save/load settings)
Line 195-201 (restore on grid load)
Line 248-294 (load/save settings buttons)
Your Answer