17 Dec 2010 5:34 AM #1
GridPanel List Filter
I have a GridPanel where there is a column with ListFilter option.After setting specific list options as filter values it works perfectly.
It would be desirable to check dynamically for new values in the specific column(e.g. after new inserting) and change automatic the Filter List options.
17 Dec 2010 6:13 AM #2
have u tried with the renderer? have u checked the examples? could u post some of your code? printscreens can help also
17 Dec 2010 10:30 AM #3
What we would like to do actually, is to be able to load the grid filter menu through a custom store or array.
Or at least, be able to create custom items, not at design / definition time, but at run time (i dont want them to be fixed and pre -defined).
Grid filtering is something we would like to implement in our application, but since this is a "plugin", there is no info for this on the official documentation.
Is there any documentation on how i could do this?
Or at least, some links to such an example?
17 Dec 2010 11:16 AM #4
17 Dec 2010 11:28 AM #5
Sort of, what i would really like to have is something in between.
im sure you all used Microsoft Excel. If you ever used its data filter feature, what it does is that it drops down a list of values
that is the equivelant of a "distinct" select running on the sql server, only it is done LOCALLY.
Could i achieve something like this? Right now, i'm in the position to prepare my own custom store of distinct - unique values , depending on the column, but how could i use this as an input / source for the drop down menu about to be dropped when the user clicks the header of a column?
17 Dec 2010 12:56 PM #6
You could just pass that into the options parameter of the listFilter perhaps?
By hamdy in forum Ext 2.x: Help & DiscussionReplies: 1Last Post: 6 Apr 2009, 12:55 AM
By bluaish in forum Ext 2.x: Help & DiscussionReplies: 1Last Post: 27 Feb 2009, 8:23 AM
By sunz2009 in forum Ext 2.x: Help & DiscussionReplies: 1Last Post: 2 Feb 2009, 7:57 AM
By varsha.kothari in forum Ext 2.x: Help & DiscussionReplies: 1Last Post: 24 Jul 2008, 8:22 AM