Three-State Table Sorting

32 views
Skip to first unread message

ma...@makr.zone

unread,
May 5, 2022, 10:34:11 AM5/5/22
to OpenPnP
Hi all,

just FIY: I added three-state table sorting to OpenPnP.

Problem: When users clicks on a column header the table is sorted by that column. Users can then click again for descending order or click on other column headers to sort by these columns too, but they cannot go back to the native model/logical order of the table. They need to exit and restart OpenPnP to do so.

Some tables such as the Issues & Solutions have an important logical order.

Solution: This change makes it possible to go back to the unsorted logical order.

Just click on column headers, as before, but it now cycles through the unsorted state too:

Sorting.gif

https://github.com/openpnp/openpnp/pull/1408

Available in the testing version.

https://openpnp.org/test-downloads/

_Mark

Reply all
Reply to author
Forward
0 new messages