Disable My Filters / Save Filters on a GridField backed by a Record Type

I am using a record type to back some read-only grids via a!recordData. The grids both use the same record type, but with different queryFilters passed into a!recordData. Both instances need to show the OOTB search box, but I need to disable the "My Filters" view and the "Save Filters As..." feature to avoid users getting confused. Furthermore, the application of a saved filter as default will be applied to both instances of the gridField, which is something we must avoid.

Is there a way to disable My Filters / "Save Filters As" while retaining the OOTB search box? Else I would need to build a custom search.

  Discussion posts and replies are publicly visible

Parents Reply
  • 0
    A Score Level 2
    in reply to Danny Verb
    • Both grids have the search box enabled but no filters on the UI
    • Both grids are using a!recordData with the same record type, but different filters (an input to a!recordData). This is to show different variants of the data in each grid.
    • With the Search box enabled, the manage filter / refresh icons are displayed. This is fine to allow users to clear filters (in this case, clear the search box), but if a user saves a filter, then it affects both grids.
Children