Home Forums WinForms controls Xceed Grid for WinForms Grid behaviour on Click Reply To: Grid behaviour on Click

User (Old forums)
Member
Post count: 23064

Thanks for the tip. I just tried, but it seems the SelectedRows property is updated to contain only the clicked row even before this event fires too!

I messed around with IsSelectedChanged too and think I found a bug. I tried this in IsSelectedChanged:

private void row_IsSelectedChanged(object sender, EventArgs e)
{
((Row)sender).IsSelected = true;
}

If I click a few rows (not using shift or control) it appears all the rows stay selected (they have the highligt color) BUT if I check the SelectedRows properties of the grid it only contains ONE row. The one I clicked last.

Imported from legacy forums. Posted by Tomas (had 3484 views)