Hi,
i want to set a MiniDateRangeItem filter editor for listGrid fields which have not the DATE type. I do
for these fields and finally
This works in the UI, the MiniDateRangeItem is visible in the filter bar, it can be opened and I can choose date ranges. However, after clicking "ok" with entered "From:" and/or "To:" values, no fetch requests are processed anymore. I have my own datasource for this listGrid and DataSource#transformRequest() is not called anymore. Not when clicking on the filter button, or when entering a filter string into the filter text item for another field in the listGrid and pressing enter.
Only when changing the sort order, transformRequest() is called. In this case the DSRequest contains also an AdvancedCriteria object for the field as expected.
Am I missing something, or do I have to override another method in the DataSource?
Thanks for help.
SmartClient Version: v11.1p_2017-07-03/LGPL Development Only (built 2017-07-03)
Chrome Version 65.0.3325.181
i want to set a MiniDateRangeItem filter editor for listGrid fields which have not the DATE type. I do
Code:
listGridField.setFilterEditorProperties([B]new [/B]MiniDateRangeItem());
Code:
listGrid.setFields(listGridFields);
Only when changing the sort order, transformRequest() is called. In this case the DSRequest contains also an AdvancedCriteria object for the field as expected.
Am I missing something, or do I have to override another method in the DataSource?
Thanks for help.
SmartClient Version: v11.1p_2017-07-03/LGPL Development Only (built 2017-07-03)
Chrome Version 65.0.3325.181
Comment