11
Views
1
Comments
[Sticky Table Header With Drag And Drop] Pagination change the order of the columns (data) defaulted back to original
Application Type
Reactive

If i try swap some columns first, then go to page 2, the data showing in the wrong columns headers

2025-09-01 03-21-07
Vibhor Agarwal

Hello @Wang Jinwen ,

Here are some of the operations we can perform-:

Use a Block for Table Rendering

  • Encapsulate the table in a custom block.
  • Pass the column order as an input parameter.
  • On pagination, refresh the block with the updated column order


Persist Column Order in a Variable or Client Storage

  • Store the column order in a local variable or client storage (e.g., ClientVariable or LocalStorage).
  • Update this variable whenever a column is dragged.
  • On pagination or screen refresh, reapply the stored column order.

Warm Regards,

Vibhor

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.