I am displaying certain Records in Infragistics Grid. I have also added GroupBy option. GroupBy can be done with respect to any column.
But i couldnt select records from multiple groups (i.e) after doing GroupBy based on a column, i get 3 groups for that.
Group1 has two records, Group2 has three records and Group3 has five records.I could select record from only one group.I couldnt select records from all the three groups. Its allowing me to select only from one group.When I select a record from second group, first group records get De-selected. Is there any option that has to be set to enable the selection of records from multiple groups.
I have provided a checkBox for selecting each record in a group.
Please suggest me on the same.
I also have the same problem. When items are grouped selection works only inside group where selection has started.
When record selector is used with left mouse button pressed down all items in containing group are selected. If cursor is moved to another group item cursor is over marked as selected too, but when cursor left it item will be unselected. When mouse button is released item under cursor remains selected.
Ctrl selection works fine.
Selection without grouping works fine.
Looks like bug in Infragistics.Windows.Selection.SelectionController linked with GroupBy Record container structure.
Thanks - I'm moving this post to the appropriate forum.
I'm not familiar enough with the details of XamDataGrid's group-by functionality to be certain whether my above statements also apply here, though I suspect they might.
I am using XamDataGrid and WPF (3.0) application.
What grid control are you using: WinGrid, WebGrid, or XamDataGrid?
I'm fairly sure that WinGrid and WebGrid only allow you to select rows from a single data island at a time. A "data island" is the group of rows that share the same parent row. When you apply GroupBy to either of these grids, you get group-by rows that become the parent of all rows that meet the same criteria you grouped by.
Using a checkbox column to simulate selection, rather than the built-in selection capabilities of either WinGrid or WebGrid, is likely your best alternative.