Keyboard Navigation Key cannot work when the visibility of some DataGridRow is set to Collapsed

Dec 11, 2008 at 8:19 AM
The Arrow key Down cannot make focus move to the next row if there are some rows are hidden between current row and next visible row.
The Arrow Key Up cannot make focus move to the above row if there some rows are hidden between current row and the above visible row.
The Ctrl+Down does not work if the last row is hidden, the focus should be moved to the last visible row, but it does not work.

I know this problem maybe can be solved by handling the keyboard event and judge the visibility of DataGridRows.
But I think this maybe a bug of DataGrid.

Following is the source code of my program, which try to implement the tree structure in DataGrid.
http://rapidshare.com/files/172307826/TreeInDataGridDemo2.zip.html
Coordinator
Dec 11, 2008 at 6:44 PM
Hi jetsun,

It seems that this is bug in DataGrid. The current implementation of Arrow Key down handler doesnt consider hidden rows. Yes, as you said handling keyboard event is the solution for this problem.