This is a migrated thread and some comments may be shown as answers.

FullRow mode should not have a "current" cell

2 Answers 54 Views
GridView
This is a migrated thread and some comments may be shown as answers.
PaulR
Top achievements
Rank 1
PaulR asked on 07 Jul 2016, 08:03 AM

I think I saw a thread on this, but it was very old, like 2011, so I'm bringing it back up.

The whole point of a "Full Row" selection mode is to select a full row. Not a cell. I know, you highlight the whole row. But there's still a box around a "current cell". As well, keyboard navigation is whacked now. Using the left/right arrow keys should either do nothing, or better yet move the selection row by row. What happens now is that this "current cell" box moves with the left/right arrow keys. Not fun in a grid with 30 columns :( Extended selection mode is also problematic if you are holding down the Shift key and accidentally press a left/right arrow key.

Can we make SelectionUnit=FullRow actually be "Full Row"?

(I've also got EditTriggers set to None, so I have no plans on making any cell editable, in case you were wondering.)

Thanks.

 

2 Answers, 1 is accepted

Sort by
0
PaulR
Top achievements
Rank 1
answered on 07 Jul 2016, 05:50 PM

Seems the Microsoft DataGrid does the same thing :(

I guess nevermind. I'll just forage through the system, override a bunch of methods...

0
Maya
Telerik team
answered on 08 Jul 2016, 08:53 AM
Hello Paul,

The thing is that current cell/current item and the selected one have different target and meaning. CurrentCell gives information about the cell that currently has the focus. You can directly start editing it or navigate from it. CurrentItem is the one that holds the item that has the focus and if synchronized with the collection view, which item is set to be the CurrentItem of the collection. 
SelectedItem, on the other hand, is not directly related to the collection view or the focus. It is the one being visually selected and set to SelectedItem property of the grid or a part of the SelectedItems collection.
More information can be found in the "Programmatic Selection" article.

Regards,
Maya
Telerik by Progress
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Tags
GridView
Asked by
PaulR
Top achievements
Rank 1
Answers by
PaulR
Top achievements
Rank 1
Maya
Telerik team
Share this question
or