mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
TablePanel: Do not allow auto-reset (#67477)
disallow react table to autoreset
This commit is contained in:
@@ -120,6 +120,7 @@ export const Table = memo((props: Props) => {
|
||||
data: memoizedData,
|
||||
disableResizing: !resizable,
|
||||
stateReducer: stateReducer,
|
||||
autoResetPage: false,
|
||||
initialState: getInitialState(initialSortBy, memoizedColumns),
|
||||
autoResetFilters: false,
|
||||
sortTypes: {
|
||||
|
||||
@@ -41,7 +41,6 @@ export function TablePanel(props: Props) {
|
||||
const tableElement = (
|
||||
<Table
|
||||
height={tableHeight}
|
||||
// This calculation is to accommodate the optionally rendered Row Numbers Column
|
||||
width={width}
|
||||
data={main}
|
||||
noHeader={!options.showHeader}
|
||||
|
||||
Reference in New Issue
Block a user