I want to set more than one filter programatically. For one filter it is working as expected, but not for more. Only the last filter is applied.
Steps to reproduce the bug:
Have two columns in PlutoGrid and then changing two filters at the same time via the eventManager is not working.
WidgetsBinding.instance.addPostFrameCallback((timeStamp) {
stateManager!.eventManager!.addEvent(
PlutoGridChangeColumnFilterEvent(
column: column[0],
filterType: const PlutoFilterTypeContains(),
filterValue: 'columnFilter0'
debounceMilliseconds:
stateManager!.configuration.columnFilter.debounceMilliseconds),
);
stateManager!.eventManager!.addEvent(
PlutoGridChangeColumnFilterEvent(
column: column[1],
filterType: const PlutoFilterTypeContains(),
filterValue: 'columnFilter1',
debounceMilliseconds:
stateManager!.configuration.columnFilter.debounceMilliseconds),
);
});
Execution Environment
Flutter 3.24.5 • channel stable • https://github.com/flutter/flutter.git
Dart 3.5.4
DevTools 2.37.3
PlutoGrid version
pluto_grid_plus: ^8.4.3
OS
web
I want to set more than one filter programatically. For one filter it is working as expected, but not for more. Only the last filter is applied.
Steps to reproduce the bug:
Have two columns in PlutoGrid and then changing two filters at the same time via the eventManager is not working.
Execution Environment
PlutoGrid version
pluto_grid_plus: ^8.4.3OS
web