Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add persistFilter to GridModelPersistOptions #3831

Open
ghsolomon opened this issue Nov 18, 2024 · 0 comments
Open

Add persistFilter to GridModelPersistOptions #3831

ghsolomon opened this issue Nov 18, 2024 · 0 comments
Labels

Comments

@ghsolomon
Copy link
Contributor

GridModel currently supports the following GridModelPersistOptions:

    /** True (default) to include column state or provide column-specific PersistOptions. */
    persistColumns?: boolean | PersistOptions;
    /** True (default) to include grouping state or provide grouping-specific PersistOptions. */
    persistGrouping?: boolean | PersistOptions;
    /** True (default) to include sort state or provide sort-specific PersistOptions. */
    persistSort?: boolean | PersistOptions;

Add an additional persistFilter?: boolean | PersistOptions flag to support persisting a Grid's filter state. Will only be able to support persisting CompoundFilter | FieldFilter (FunctionFilter is not serializable). See FilterChooserModel, which currently supports persisting a filter value.

@ghsolomon ghsolomon added the grid label Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant