Is DataGrid selection change broken?

Jun 26, 2010 at 10:22 PM
Edited Jun 26, 2010 at 10:33 PM

I noticed this in my latest project but haven't looked into it until now.

It appears that if the user selects any row in the data grid and tries using the arrow keys to select the next/previous row, it doesn't work. If you press the up arrow, it doesn't do anything, if you press the down arrow, it selects the first row in the data grid.

I created a fresh project just to test this, and the problem still seems to exist. All the new project does it populate the data grid with a dummy bound list.

If I change the SelectionMode to Cell, it works fine (but I want row selection).

EDIT: I just looked over the samples, and Sample #49 seems to have the same problem.

Coordinator
Jun 28, 2010 at 9:47 AM

Thanks for reporting this, i will look at it some time this week

Coordinator
Jun 30, 2010 at 7:53 AM

Could you also please create an a ticket for this problem? (a work item, as CodePlex calls it)

Jun 30, 2010 at 11:15 PM

I just looked through the Issue Tracker and I believe that this issue is already submitted here: http://sourcegrid.codeplex.com/workitem/6242

Darius, did you have a chance to verify that this is broken (sample #49)? And if so, does the above ticket describe this problem?

Coordinator
Jul 1, 2010 at 8:06 AM

Sample 49 really works strangely. However, i am not sure that this is exactly problem with RowSelection. See sample 17, it has rowseleciton, and it works fine. I'll keep looking

Coordinator
Jul 1, 2010 at 9:49 AM

I have fixed this issue.

 

See http://sourcegrid.codeplex.com/workitem/6242 for details

 

Thanks for bringing this issue, cerilia.

Jul 1, 2010 at 5:55 PM

Thanks for fixing it so quickly! Reporting the issue is the least I could do. :)