This project is read-only.

Is DataGrid selection change broken?

Jun 26, 2010 at 11:22 PM
Edited Jun 26, 2010 at 11: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.

Jun 28, 2010 at 10:47 AM

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

Jun 30, 2010 at 8:53 AM

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

Jul 1, 2010 at 12:15 AM

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?

Jul 1, 2010 at 9: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

Jul 1, 2010 at 10: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 6:55 PM

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