Hi Isomorphic,
reading this question I have a question of my own (not urgent).
At some point I'll develop a feature like the one mentioned in the thread: Configure and save criteria, later re-apply one of those criteria from a list of saved criteria.
Right now I have a ListGrid with optional filterRow, which stores the current criteria in the DB, so that those criteria are re-applied after logoff/logon.
The new criteria will be edited in a GUI much like yours here, plus a name field for the selected criteria and a save button etc.
Those criteria will be more advanced - like the pre-existing criteria in the sample. In the sample you are not showing showFilterEditor: true - for a good reason - the filterRow can't possibly display AND/OR Criteria.
What is your GUI suggestion here, if I want to show the filterRow as much as possible? Is there some ListGrid(?) method that shows me that the criteria for at least one field cannot be properly displayed in the filterRow and therefore I should hide it? I assume this has something to do with FormItemCriterionSetter.
Just an inner AND/OR criterion is not enough - for example one could define two criteria for a field on the top-level, making it effectively an AND-criterion, which the filterRow then can't display for that field.
Thank you & Best regards
Blama
reading this question I have a question of my own (not urgent).
At some point I'll develop a feature like the one mentioned in the thread: Configure and save criteria, later re-apply one of those criteria from a list of saved criteria.
Right now I have a ListGrid with optional filterRow, which stores the current criteria in the DB, so that those criteria are re-applied after logoff/logon.
The new criteria will be edited in a GUI much like yours here, plus a name field for the selected criteria and a save button etc.
Those criteria will be more advanced - like the pre-existing criteria in the sample. In the sample you are not showing showFilterEditor: true - for a good reason - the filterRow can't possibly display AND/OR Criteria.
What is your GUI suggestion here, if I want to show the filterRow as much as possible? Is there some ListGrid(?) method that shows me that the criteria for at least one field cannot be properly displayed in the filterRow and therefore I should hide it? I assume this has something to do with FormItemCriterionSetter.
Just an inner AND/OR criterion is not enough - for example one could define two criteria for a field on the top-level, making it effectively an AND-criterion, which the filterRow then can't display for that field.
Thank you & Best regards
Blama
Comment