appsmithorg / appsmith

Platform to build admin panels, internal tools, and dashboards. Integrates with 25+ databases and any API.
https://www.appsmith.com
Apache License 2.0
34.26k stars 3.71k forks source link

[Bug]: Hidden columns sets to last on changing visible column index in Table widget #13937

Open chandannkumar opened 2 years ago

chandannkumar commented 2 years ago

Is there an existing issue for this?

Description

When we hide a column and interchange any visible columns index from widget, then the column list resets and push all hidden columns at last automatically? what should be the expected behavior here.. ?

LOOM DEMO

Steps To Reproduce

  1. Add a table widget onto canvas
  2. Hide a column from property pane
  3. Interchange any columns by dragging a column from widget
  4. Now enable the hidden column
  5. Observe that the column shifts to last of the widget and also on property pane

Public Sample App

No response

Version

Cloud/ Production

dilippitchika commented 2 years ago

Looks like there is an inconsistency. Whenever we re-arrange in the table widget and not via property pane it resets the order. Plus this only matters in edit mode, so keeping this in icebox for now.