TravellerTools icon indicating copy to clipboard operation
TravellerTools copied to clipboard

Feature request: make tables sortable in the browser

Open IvanSanchez opened this issue 3 years ago • 1 comments

Follow-up to #70/#78/#83, re: trading goods tables.

I would like to click on the header of the table, on the "expected profit" cell (or on a hypothetical "expected profit per ton" cell), and see the table automagically sort itself to display the most profitable goods on top.

I'm specifically thinking on things like https://kryogenix.org/code/browser/sorttable/ or https://github.com/stationer/SortTable/

The table should display the UI hint for the default sorting (by name of the good, descending). No UI or invisible UI is bad.

IvanSanchez avatar Mar 07 '21 16:03 IvanSanchez

This looks interesting: https://github.com/IvanJosipovic/BlazorTable

Grauenwolf avatar Mar 08 '21 00:03 Grauenwolf