Oct 09, 2013, 2:48 PM
[CLOSED] gridpanel / listfilter configuration / remote filtering
Hi
I have a gridpanel with an ajaxproxy (.ashx) to get the desired data. The store has 2 modelfiels ("ID", "Text"). How do I have to set up my listfilter in codebehind that the user can chose from the different "Text"-Fields and the "ID" gets submited. Is that even possible (somehow with a config) or do I have to stick with the "Text" as submited value?
If I try something like
Thank you very much.
PS: I found this but it is still totally manual...
I have a gridpanel with an ajaxproxy (.ashx) to get the desired data. The store has 2 modelfiels ("ID", "Text"). How do I have to set up my listfilter in codebehind that the user can chose from the different "Text"-Fields and the "ID" gets submited. Is that even possible (somehow with a config) or do I have to stick with the "Text" as submited value?
If I try something like
new ListFilter { DataIndex = "ID", LabelField = "TEXT" }
the grid doesn't even load. I assume that is because the gridpanel loads that data after the grid filters are set up (which are waiting for the not yet loaded data)? It works when I set some Options manually but then I always have to change them, when the griddata gets changed... so there is no point in that.Thank you very much.
PS: I found this but it is still totally manual...
Last edited by Daniil; Oct 10, 2013 at 4:10 PM.
Reason: [CLOSED]