mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Table: Fix don't reset filter on resize (#48421)
This commit is contained in:
parent
a9cc3225ba
commit
762a84153d
@ -183,6 +183,7 @@ export const Table: FC<Props> = memo((props: Props) => {
|
||||
disableResizing: !resizable,
|
||||
stateReducer: stateReducer,
|
||||
initialState: getInitialState(initialSortBy, memoizedColumns),
|
||||
autoResetFilters: false,
|
||||
sortTypes: {
|
||||
number: sortNumber, // the builtin number type on react-table does not handle NaN values
|
||||
'alphanumeric-insensitive': sortCaseInsensitive, // should be replace with the builtin string when react-table is upgraded, see https://github.com/tannerlinsley/react-table/pull/3235
|
||||
|
Loading…
Reference in New Issue
Block a user