Open Judder opened 8 years ago
I think this it the responsibility of the query, not the grid configuration.
I agree, but I wonder how you could have a default LIMIT set on a query, and then also use the filtering from the Grid to remove this when needed
For example select everything by default, add a limit of 1000
However if a date range is set, then remove the 1000 limit
Would be great to give Grid Configuration the ability to have default values, so that the initial run of any report doesn't select the complete data set.
For example adding a date filter with
{"filterable": {"Created At": "adminhtml/widget_grid_column_filter_date"}}
could have something like (pseudo code)