This question is locked. New answers and comments are not allowed.
In my scenario, I'm doing all paging, sorting, and filtering in SQL as I have 60k+ rows of data and don't want to have to return all of them & sort, filter, etc. on the client.
I'm trying to understand how to limit the number of selections posed as filters. For instance instead of offering:
'String': {
'Is equal to': 'eq',
'Is not equal to': 'ne',
'Starts with': 'startswith',
'Contains': 'substringof',
'Ends with': 'endswith'
},
'Number': {
'Is equal to': 'eq',
'Is not equal to': 'ne',
'Is less than': 'lt',
'Is less than or equal to': 'le',
'Is greater than': 'gt',
'Is greater than or equal to': 'ge'
},
'Date': {
'Is equal to': 'eq',
'Is not equal to': 'ne',
'Is before': 'lt',
'Is before or equal to': 'le',
'Is after': 'gt',
'Is after or equal to': 'ge'
}
I could limit it to:
'String': {
'Is equal to': 'eq',
'Starts with': 'startswith',
'Contains': 'substringof',
},
'Number': {
'Is equal to': 'eq',
'Is not equal to': 'ne',
},
'Date': {
'Is equal to': 'eq',
}
Can I specify this on a particular grid?
I'm trying to understand how to limit the number of selections posed as filters. For instance instead of offering:
'String': {
'Is equal to': 'eq',
'Is not equal to': 'ne',
'Starts with': 'startswith',
'Contains': 'substringof',
'Ends with': 'endswith'
},
'Number': {
'Is equal to': 'eq',
'Is not equal to': 'ne',
'Is less than': 'lt',
'Is less than or equal to': 'le',
'Is greater than': 'gt',
'Is greater than or equal to': 'ge'
},
'Date': {
'Is equal to': 'eq',
'Is not equal to': 'ne',
'Is before': 'lt',
'Is before or equal to': 'le',
'Is after': 'gt',
'Is after or equal to': 'ge'
}
I could limit it to:
'String': {
'Is equal to': 'eq',
'Starts with': 'startswith',
'Contains': 'substringof',
},
'Number': {
'Is equal to': 'eq',
'Is not equal to': 'ne',
},
'Date': {
'Is equal to': 'eq',
}
Can I specify this on a particular grid?