dxc-technology / halstack-react

Library of components for building SPAs with React and Halstack Design System
https://developer.dxc.com/halstack/
Apache License 2.0
15 stars 14 forks source link

Resultset Table - Default sorting column #1863

Closed hanoj-budime closed 8 months ago

hanoj-budime commented 8 months ago

The ResultsetTable must support this default sorting feature. For example, even when you handle the sorting order from the server side, there needs to be a way to notify the user that the table is defaultly sorted with a specific column. Currently, there is no visual indication in the UI.

1441

github-actions[bot] commented 8 months ago

Thank you for opening an issue! 🚀

Our team will review it as soon as possible. In the meantime, please make sure that you've provided all the necessary details to help us understand and address the issue effectively.

Feel free to contribute and participate in discussions!

Jialecl commented 8 months ago

We discussed this with the rest of the team and we concluded that we will not add this feature. The arrow indicator does not only indicate the order of the items in the table, it also indicates the user action. Without the user action, we should not add the order indicator.

hanoj-budime commented 8 months ago

https://datatables.net/examples/basic_init/table_sorting.html