igniteui-angular
igniteui-angular copied to clipboard
Selected cell moves after sorting is performed
Description
Selected cell moves after sorting is performed.
- igniteui-angular version: 7.3.0
- browser: n/a
Steps to reproduce
- Run the attached sample
- Click 'Apple' on 'Name' column
- Click header on 'Name' column to perform sorting
Result
Selected cell becomes 'Grape'.
Expected result
Selected cell remains 'Apple', or selected cell is cleared.
Attachments
@ymita this is by design. The selection is index based (DOM elements selection). So when user sort the cell in same column and row should be selected. You can look at the documentation for selection with all other features: https://github.com/IgniteUI/igniteui-angular/wiki/Grid-Multi-cell-selection-Specification#33-other-igxgrid-features-integration
@nrobakova Thank you for pointing it out!