Hello there,
i use your SFDataGrid and have the following problem.
When a filter is added to a column by the user, I store all the filters in a map variable. Now when I do an action and go back to the grid with setState I want the filter to be set again. I use the following function to set the filter.
void loadFilder() {
if (widget.gridFilter.isNotEmpty) {
widget.gridFilter.forEach((key, value) {
for (var element in value) {
gridDataSource.addFilter(key, element);
}
});
}
}
The problem now is that the filter is set in the column header, but the data is not filtered. If I sort any column then the filter will be applied. Do you have an idea?