-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(datagrid): use only
clrDgItemsTrackBy
for selection tracking (#…
…1144) I removed two tests that appeared to test an optimization to skip work if there are no items. These optimizations are invalid because it may appear that the datagrid has no items when it just doesn't have items yet. CDE-71 BREAKING CHANGE: The row iterator `trackBy` function will no longer be used for selection tracking. Update your code to pass `clrDgItemsTrackBy` to the `clr-datagrid` component if you pass `trackBy` to the row iterator. Note that the `clrDgItemsTrackBy` signature does not include the element index.
- Loading branch information
1 parent
1951e9a
commit a569463
Showing
14 changed files
with
191 additions
and
753 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
66 changes: 0 additions & 66 deletions
66
projects/angular/src/data/datagrid/datagrid-items-trackby.spec.ts
This file was deleted.
Oops, something went wrong.
35 changes: 0 additions & 35 deletions
35
projects/angular/src/data/datagrid/datagrid-items-trackby.ts
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.