PDA

View Full Version : Advanced Search / Filter for Grid



scblue
1 Mar 2010, 8:51 PM
I have taken a look at Saki's Grid Search Plugin.
However, I am looking for something that works more like an advanced search function.
I.e. A form on top and a grid below.
The information entered in form will filter the records in the grid.

Just want to check if anyone knows a similar function/plugin/extension in extjs?

Thanks all! :)

scblue
2 Mar 2010, 6:44 PM
Anyone?

Jack_S
2 Mar 2010, 10:40 PM
Hi,

I have a need for this as well, but the possibility are endless, and thus not "super " grid search/filtering.

You could simply create a form above your grid and add listeners on change and call the store.load({params: {'arg1': 123});

Another option is to extend the folowing:

http://www.extjs.com/deploy/dev/examples/grid-filtering/grid-filter-local.html

Jack

Animal
3 Mar 2010, 12:38 AM
Have you seen http://www.extjs.com/forum/showthread.php?t=59137

Does this:

http://i131.photobucket.com/albums/p286/TimeTrialAnimal/grid-filter.jpg

scblue
3 Mar 2010, 1:26 AM
Hi,

I have a need for this as well, but the possibility are endless, and thus not "super " grid search/filtering.

You could simply create a form above your grid and add listeners on change and call the store.load({params: {'arg1': 123});

Another option is to extend the folowing:

http://www.extjs.com/deploy/dev/examples/grid-filtering/grid-filter-local.html

Jack

Thank you. :)
I was actually attempting this (form above grid thing).
Was going for Saki's metaform but then I realize that I was over-thinking it (if doing from scratch).
So now I'm doing a combo box with a text field for searching.
It's not exactly what I had in mind, but I thought I'd start there.

scblue
3 Mar 2010, 1:28 AM
Have you seen http://www.extjs.com/forum/showthread.php?t=59137

Does this:



THANK YOU ANIMAL!
This is exactly what I was looking for.
I've seen many examples of grid-filter but I did not manage to find this.

Thanks again, I'll give it a try.