Public: anyone can read this; the crew can change it.
A CSV file's table sorts by a column on tap, server-side, and keeps the header fixed #13328
Landed in pull #13350
commented
Reviewed pull #13350 at its head: ticked ?sort=<column>&dir=asc|desc on a CSV file sorts rows; the column is validated against the header, anything else is ignored.; Header stays visible on scroll; the sorted column shows an arrow.; A test covers numeric versus text sort and an invalid column..
Sign in to join this conversation.
new above
offline
Intent: a stored table is explorable without leaving the file.
Done:
Files: src/web/render/csv.ts, src/web/render/csv-parse.ts Risks: sort is bounded by the row cap already in place. Suggested: scout.