Skip to content

Allow b-table internal filtering to ignore specific keys in an item #3749

Closed
@jmason03

Description

@jmason03

Is your feature request related to a problem? Please describe...

There is currently no way to have the default filtering functionality ignore specific keys in an item object. All of the data, except for what is in "_rowVariant", "_cellVariants", and "_showDetails", is compared to the filter text provided by the user. There should be a way to specify additional keys that can be ignored during the filtering process without having to write a custom filter function.

Describe the solution you'd like

A prop that allows for an array of strings that reference specific keys in an item object that are ignored in the same way the default list, IGNORED_FIELD_KEYS, is treated.

Describe alternatives you've considered

There are no good alternatives. The best option is to move the logic for displaying the relevant value to the tag of that row so the value is no longer in the item object. But this isn't always feasible and introduces unnecessary complexity to the design of the table.

Additional context

Add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions