I want to do this:
- Have a list grid
- Set some criteria from code
- Allow the user to search inside the results.
The user should not be able to override the criteria set in code, only narrow the results.
Fortunately, the fields I set the criteria for in code are hidden, and not available for the user to search, so no field has more than one filter.
I have done this:
- I have set the criteria with ListGrid.fetchData(criteria)
- I have set the auto text match style to exact
- I have set the text match style for the individual, searchable, displayed fields to iContains.
The problem is, when the user enters something to the filter box, the original criteria I have set no longer seems to have any effect!
I have attached the DSRequest which is sent before the user searching (just my criteria, set from code), and the second one, which is sent after the user entered the search string.
By looking at this second query, I would say that it has my criteria, but the response it gets clearly does not fit. (Also attached, but had to truncate for size reasons. First record in preserved.)
I have also attached the server-side log about parsing this second query.
What could be wrong here?
- Have a list grid
- Set some criteria from code
- Allow the user to search inside the results.
The user should not be able to override the criteria set in code, only narrow the results.
Fortunately, the fields I set the criteria for in code are hidden, and not available for the user to search, so no field has more than one filter.
I have done this:
- I have set the criteria with ListGrid.fetchData(criteria)
- I have set the auto text match style to exact
- I have set the text match style for the individual, searchable, displayed fields to iContains.
The problem is, when the user enters something to the filter box, the original criteria I have set no longer seems to have any effect!
I have attached the DSRequest which is sent before the user searching (just my criteria, set from code), and the second one, which is sent after the user entered the search string.
By looking at this second query, I would say that it has my criteria, but the response it gets clearly does not fit. (Also attached, but had to truncate for size reasons. First record in preserved.)
I have also attached the server-side log about parsing this second query.
What could be wrong here?
Comment