Persist Settings Filters being passed to SubGrid Select

QuestionsPersist Settings Filters being passed to SubGrid Select
Mike Sheppard asked 2 years ago

I use persist settings for column layout and searching that also have a Master/Detail, or SubGrid report.

If I reload a page with persist settings and a search criteria, that criteria is being passed to all the sub-grids.

Can I disable this some how? I only want the master report to use the persist setting search filters.

Thanks

 

Mike

2 Answers
Abu Ghufran Staff answered 2 years ago

Hello,

If you set persist option with var opts_list1 = {} (where list1 is grid id), it will have the options only for that grid. This is alternate way as we usually set var opts = {};

https://www.gridphp.com/demo/demos/misc/persist-settings.phps#L.145

 

_________________________
Abu Ghufran - Dev Team
Grid 4 PHP Framework
 
Mike answered 2 years ago

This works perfectly.

Thank you!

Mike

Your Answer

1 + 8 =

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?