gristlabs_grist-core/app/client/models/entities
Jarosław Sadziński 75d979abdb (core) Fixing cursor position for filtered linked section.
Summary:
In a selector table, when a selected row is filtered out of view, linked widgets should update based on the newly selected row.
There were a few bugs that contributed to this wrong behavior:
- Gridview wasn't subscribing to the current row id, and the row with id 'new' was being converted to the first row
- Cursor was keeping track of the currently selected row id, it was hiding a problem behind the proper rowIndex
- Undo/redo somehow leveraged the wrong rowId from the cursor during the position restore.

The `No data` text was also changed to be more meaningful.

Test Plan: Added and updated.

Reviewers: georgegevoian

Reviewed By: georgegevoian

Differential Revision: https://phab.getgrist.com/D3937
2023-07-07 19:04:30 +02:00
..
ACLRuleRec.ts (core) make AccessRules and FullCopies effective 2021-03-25 15:05:26 -04:00
CellRec.ts (core) Comments 2022-10-17 13:38:21 +02:00
ColumnRec.ts (core) Floating formula editor 2023-06-02 17:59:22 +02:00
DocInfoRec.ts (core) Filter out pages for hidden views from the page list. 2021-08-27 13:51:57 -04:00
FilterRec.ts (core) Allow filtering hidden columns 2021-11-22 10:26:08 -08:00
PageRec.ts (core) Polish doc tutorials 2023-06-23 23:56:20 -04:00
TabBarRec.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
TableRec.ts (core) Don't show hidden tables in table data options when adding widgets 2022-07-21 16:28:28 +02:00
ValidationRec.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
ViewFieldRec.ts (core) Floating formula editor 2023-06-02 17:59:22 +02:00
ViewRec.ts (core) Fixing cursor position for filtered linked section. 2023-07-07 19:04:30 +02:00
ViewSectionRec.ts (core) Fixing cursor position for filtered linked section. 2023-07-07 19:04:30 +02:00