Persist Settings with Master-Detail Report

QuestionsPersist Settings with Master-Detail Report
Michael Sheppard asked 9 months ago

Good day! Things have been going well and the software is working perfectly!

I’m looking for a way to have Persist Settings work for the Master-Detail style reports. Even if it’s only the Master report that has persist settings – that would be okay.

Right now persist settings does not work with either the master or the detail.


Thanks for any help.

Mike Sheppard

3 Answers
Abu Ghufran Staff answered 9 months ago

Hi Micheal,

I’ll be updating you after preparing a demo of master-detail with persistance.

Abu Ghufran - Dev Team
PHP Grid Framework
Abu Ghufran Staff answered 4 months ago

I’ve updated a demo for this case:

line 199,208,219

When defining persistence settings, instead of var opts, you need: var opts_list1 = { .. } – append “opts_<gridid>”
Also make sure storage key is unique string.

Abu Ghufran - Dev Team
PHP Grid Framework
Mike answered 4 months ago

That seems very straight-forward – I will have a try at that when I get a chance.

We already use a unique name (filename) as we also have a method to store and retrieve the local storage key so users can have a default layout and a custom layout at the click of a button (custom code and database table to store the data based on $hostname).

storageKey: “gridState-<?echo $reportname?>”, // Gridstate Name

Thanks for the continued support!




Your Answer

16 + 19 =

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 / 5. Vote count:

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

Let us improve this post!