profiles for filters / column layout?

Questionsprofiles for filters / column layout?
Ed Komeshak asked 6 years ago

I know how to persist settings for a single session, but are there any examples of how to create profiles for grid layouts and / or filter criteria that could be re-used, or even shared between different users?

Ex, a grid that shows order information.  Some times users might want to see shipped order history, with certain columns, and some times see active orders with different columns.

It would be helpful to allow them to create a profile that could be re-used (or even shared) without having to re-enter filter rules & column chooser.

4 Answers
Abu Ghufran Staff answered 6 years ago

It’s not currently supported. I’ll update you after some working.

_________________________
Abu Ghufran - Dev Team
Grid 4 PHP Framework
 
Abu Ghufran Staff answered 6 years ago

To have preset filters, one can use url based params. e.g.

The syntax is “<grid-id>_<column-name>=value” as shown in image.

We are planning to have similar url based syntax for columns to hide or to show.

Do you think it will meet your requirement?

_________________________
Abu Ghufran - Dev Team
Grid 4 PHP Framework
 
ed k answered 6 years ago

Was really hoping to have something more user-controlled. Is there a way to use advanced search conditions in URL based parms (ex. status > 00 and status < 90)?

Abu Ghufran Staff answered 6 years ago

In latest build, it works like:

index.php?list1_status=>0%20<90

(>0 <90 – with a space between them)

Also we have now support for column hide/show based on url:

index.php?list1_showcols=id,invdate,note&list1_hidecols=total

It will show ‘id,invdate,note’ and hide ‘total’ column.

_________________________
Abu Ghufran - Dev Team
Grid 4 PHP Framework
 
Your Answer

20 + 9 =

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?