prathamesh04 opened a new pull request, #42136:
URL: https://github.com/apache/superset/pull/42136

   ## Summary
   
   Fixes #42010
   
   When clicking a cell in a paginated table chart (without Server Pagination 
enabled), the table jumps back to page 1. This happens because react-table v7's 
 defaults to , resetting the page index whenever the  prop changes — which 
occurs when a cell click triggers a filter update and subsequent re-render.
   
   ## Changes
   
   - Set  in the  options in 
   - This matches the existing pattern for  and  which are already explicitly 
controlled
   
   ## How to test
   
   1. Create a table chart with multiple pages (e.g., 20 records/page)
   2. Navigate to page 2 or beyond
   3. Click a cell in the table
   4. Verify the table stays on the current page instead of jumping back to 
page 1
   
   ## Related issues
   
   - Closes #42010
   
   ## Review checklist
   
   - [x] Tests included (existing tests pass)
   - [x] Follows existing code patterns


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to