SAP / fundamental-ngx

Fundamental Library for Angular is SAP Design System Angular component library
https://sap.github.io/fundamental-ngx
Apache License 2.0
265 stars 126 forks source link

fdp-table sorting visible columns state get lost #12397

Open maxiuser1 opened 3 weeks ago

maxiuser1 commented 3 weeks ago

Is this a bug, enhancement, or feature request?

bug

Describe your proposal.

the column list should be preserved

Can you handle that on the application side

Nope

Which versions of Angular and Fundamental Library for Angular are affected? Please, specify the exact version. (If this is a feature request, use current version.)

v0.52.1

If this is a bug, please provide steps for reproducing it; the exact components you are using;

In a fdp-table go to customization visible columns Modify the sort of visible columns and accept Open the dialog again and the sorted columns get back to previous state

Please provide relevant source code (if applicable).

Please provide stackblitz example(s).

In case this is Accessibility related topic, did you consult with an accessibility expert? If not, please do so and share their recommendations.

Did you check the documentation and the API?

Did you search for similar issues?

yes

Is there anything else we should know?

IMPORTANT: Please refrain from providing links or screenshots of SAP's internal information, as this project is open-source, and its contents are accessible to anyone.

https://github.com/user-attachments/assets/5e33efce-262f-49cf-811f-a42aaeb8a015

maxiuser1 commented 1 day ago

The fix looks good for visible columns, but with non-checked columns the order get lost too