You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by mi...@apache.org on 2026/07/20 14:15:12 UTC
(superset) branch 6.1 updated: fix(table): prevent pagination reset on cell click (#42136)
This is an automated email from the ASF dual-hosted git repository.
michael-s-molina pushed a commit to branch 6.1
in repository https://gitbox.apache.org/repos/asf/superset.git
The following commit(s) were added to refs/heads/6.1 by this push:
new c37118edd01 fix(table): prevent pagination reset on cell click (#42136)
c37118edd01 is described below
commit c37118edd0146019ab0ae4ae1a97a597cb56c88e
Author: PRATHAMESH HUKKERI <pr...@gmail.com>
AuthorDate: Sat Jul 18 00:03:19 2026 +0530
fix(table): prevent pagination reset on cell click (#42136)
Co-authored-by: Prathamesh Hukkeri <pr...@users.noreply.github.com>
(cherry picked from commit c05ac138fb9d1f00ceeb66b954b5620269bf652d)
---
superset-frontend/plugins/plugin-chart-table/src/DataTable/DataTable.tsx | 1 +
1 file changed, 1 insertion(+)
diff --git a/superset-frontend/plugins/plugin-chart-table/src/DataTable/DataTable.tsx b/superset-frontend/plugins/plugin-chart-table/src/DataTable/DataTable.tsx
index 4cec527e8cd..8cc24086de5 100644
--- a/superset-frontend/plugins/plugin-chart-table/src/DataTable/DataTable.tsx
+++ b/superset-frontend/plugins/plugin-chart-table/src/DataTable/DataTable.tsx
@@ -257,6 +257,7 @@ export default typedMemo(function DataTable<D extends object>({
sortTypes,
autoResetGlobalFilter: !isEqual(columnNames, previousColumnNames),
autoResetSortBy: !isEqual(columnNames, previousColumnNames),
+ autoResetPage: !isEqual(columnNames, previousColumnNames),
manualSortBy: !!serverPagination,
...moreUseTableOptions,
},