gristlabs_grist-core/app/client/models/entities
Jarosław Sadziński 3c72639e25 (core) Adding sort options for columns.
Summary:
Adding sort options for columns.
- Sort menu has a new option "More sort options" that opens up Sort left menu
- Each sort entry has an additional menu with 3 options
-- Order by choice index (for the Choice column, orders by choice position)
-- Empty last (puts empty values last in ascending order, first in descending order)
-- Natural sort (for Text column, compares strings with numbers as numbers)
Updated also CSV/Excel export and api sorting.
Most of the changes in this diff is a sort expression refactoring. Pulling out all the methods
that works on sortExpression array into a single namespace.

Test Plan: Browser tests

Reviewers: alexmojaki

Reviewed By: alexmojaki

Subscribers: dsagal, alexmojaki

Differential Revision: https://phab.getgrist.com/D3077
2021-11-03 15:31:39 +01:00
..
ACLRuleRec.ts (core) make AccessRules and FullCopies effective 2021-03-25 15:05:26 -04:00
ColumnRec.ts (core) Adding traceback to trigger formulas 2021-09-27 17:12:39 +02:00
DocInfoRec.ts (core) Filter out pages for hidden views from the page list. 2021-08-27 13:51:57 -04:00
PageRec.ts (core) Filter out pages for hidden views from the page list. 2021-08-27 13:51:57 -04:00
TabBarRec.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
TableRec.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
TableViewRec.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
ValidationRec.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
ViewFieldRec.ts (core) Parsing pasting in reflist columns 2021-11-03 14:37:08 +02:00
ViewRec.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
ViewSectionRec.ts (core) Adding sort options for columns. 2021-11-03 15:31:39 +01:00