Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Page changed Event on Table component fails with server-side pagination #9781

Open
GrowwithNaveen opened this issue May 20, 2024 · 0 comments

Comments

@GrowwithNaveen
Copy link
Collaborator

Description:
When setting a Page changed event to change the page of a Table component, the feature does not work as expected with server-side pagination enabled. The table component appears to change to the specified page (e.g., page 1), but the data does not update correctly. Manually advancing the page one step forward and then one step backward updates the page correctly.

Current behavior:
The Table component visibly changes to the specified page (e.g., page 1) but does not display the correct data.
Manually advancing the page forward and then backward updates the page to display the correct data.

Expected behavior:
The Table component should correctly change to the specified page and display the corresponding data immediately when the event is triggered, even with server-side pagination enabled.

Steps to reproduce:

  1. Enable server-side pagination on a Table component.
  2. Set a Page changed to change the page of the Table component upon user interaction with another component on the same page.
  3. Trigger the event to change the page (e.g., set the page to 1).
  4. Observe that the Table component visually indicates it changed to page 1 but does not display the correct data.
  5. Manually click the arrow to advance the page one step forward, then click to advance the page backward.
  6. Observe that the Table component now displays the correct data for the specified page.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant