actual cell jumps

Jun 26, 2009 at 11:03 AM

i have (readonly) grid with own column types where cell content is DockPanel with one Label inside

when i click to 2nd row 1st column it selelects its label =  correct

now when i use keyboard right key to get to row2 column2 it jumps up to r1 c1 = bad

(i see nothing special into predefined column types to handle this behaviour)

how to fix it?

Jul 10, 2009 at 8:39 AM

reproducible just with

Microsoft::Windows::Controls::DataGridSelectionUnit::Cell

having SelectionUnit

Microsoft::Windows::Controls::DataGridSelectionUnit::FullRow

no problem

Jul 17, 2009 at 2:55 PM
Edited Jul 20, 2009 at 8:14 AM

problem is related to my code calling grid->Focus during MouseLeftButtonUp

cell stays selected for user but next keyboard move jumps to 0:0

= BUG in Focus handling?

how to set focus to grid correctly?