Set Filter is an AG Grid Enterprise feature, so you’ll need a license key to use it. See Using AG Grid Enterprise for an example of how to use your license key with Dash AG Grid components.
This section describes how changing data through
Transaction Updates refers to any of the following:
When rowData
is updated, existing filter selections are kept when new rows are added. It is also possible to clear filter selections by updating the filterModel
prop in a Dash callback.
The following example demonstrates how this affects filter selections. Try the following:
Deselect value 'B'
from the set filter list and click the Set New Data button. It updates the rowData
prop in a Dash callback.
Note that 'B'
remains deselected after new data is supplied to the grid.
Clicking Reset triggers a Dash callback which updates the rowData
and filerModel
props to restore the original data and also clears any selections.