Save Grid Layout by User

QuestionsSave Grid Layout by User
Alan Sawyer asked 2 weeks ago

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
Abu Ghufran Staff answered 2 weeks ago


We’ve similar demo that saves all grid settings in session and reload from it. You can replace session with your database query.

Line 10-32 (ajax callbacks to save/load settings)

Line 195-201 (restore on grid load)

Line 248-294 (load/save settings buttons)

Abu Ghufran - Dev Team
Grid 4 PHP Framework
Your Answer

3 + 6 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.

How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?