You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are a lot of Column and Table APIs that you can use to interact with the column filter state and hook up to your UI components. Here is a list of the available APIs and their most common use-cases:
325
325
326
-
-`table.setColumnFilters` - Overwrite the entire column filter state with a new state
327
-
-`table.resetColumnFilters` - Useful for a "clear all/reset filters" button
326
+
-`table.setColumnFilters` - Overwrite the entire column filter state with a new state.
327
+
-`table.resetColumnFilters` - Useful for a "clear all/reset filters" button.
328
328
329
-
-**`column.getFilterValue`** - Useful for getting the default initial filter value for an input, or even directly providing the filter value to a filter input
330
-
-**`column.setFilterValue`** - Useful for connecting filter inputs to their `onChange` or `onBlur` handlers
329
+
-**`column.getFilterValue`** - Useful for getting the default initial filter value for an input, or even directly providing the filter value to a filter input.
330
+
-**`column.setFilterValue`** - Useful for connecting filter inputs to their `onChange` or `onBlur` handlers.
331
331
332
-
-`column.getCanFilter` - Useful for disabling/enabling filter inputs
333
-
-`column.getIsFiltered` - Useful for displaying a visual indicator that a column is currently being filtered
334
-
-`column.getFilterIndex` - Useful for displaying in what order the current filter is being applied
332
+
-`column.getCanFilter` - Useful for disabling/enabling filter inputs.
333
+
-`column.getIsFiltered` - Useful for displaying a visual indicator that a column is currently being filtered.
334
+
-`column.getFilterIndex` - Useful for displaying in what order the current filter is being applied.
335
335
336
-
-`column.getAutoFilterFn` -
337
-
-`column.getFilterFn` - Useful for displaying which filter mode or function is currently being used
336
+
-`column.getAutoFilterFn` - Used internally to find the default filter function for a column if none is specified.
337
+
-`column.getFilterFn` - Useful for displaying which filter mode or function is currently being used.
0 commit comments