I have a grid that I have made external filters for. When a user chooses a filter option, I basically call:
grid.dataSource.filter(filterObj);
However, my grid's read method requires params, which is called like this:
var optionalData = { startDate: startDateVal, endDate: endDateVal };
grid.dataSource.read(optionalData);
When the user chooses a filter, the 1st filter method is hit but my application errors on the read method because it is expecting parameters that are now null. (the startDate and endDate).
How do i call the filter method and pass optional data to it? I assume the filter calls a read?