Hello,
I use multiselect in my gridview. I've found a strange behavior when I deselect a row among several selected rows.
For example,
Step 1, I've selected 4 rows by using Shift+left click. Here is the row stats.
Row Index | IsSelected | highlighted | isCurrent
0 | yes | yes | no
1 | yes | yes | no
2 | yes | yes | no
3 | yes | yes | yes
Step 2, I've deselected third row by using Ctrl+left click. In terms of display, nothing changes.
Row Index | IsSelected | highlighted | isCurrent
0 | yes | yes | no
1 | yes | yes | no
2 | no | yes | yes
3 | yes | yes | no
Step 3, I've deselected second row by using Ctrl+left click. In terms of display, 3 rows are highlighted, but actually 2 rows are selected.
Row Index | IsSelected | highlighted | isCurrent
0 | yes | yes | no
1 | no | yes | yes
2 | no | no | no
3 | yes | yes | no
I understand that current row and selected row are both highlighted. It's comprehensible to developer. But this behavior is not such friendly to software user.
I tried to disable highlight to current row by using row formatting. No luck.
To be more clear, I hope that only selected row can be highlighted.
Please help me. Thank you.