Hi
I have a multi level grouping (let's say two groups) and one of the column is Checkbox column.
My functionality is when I select the checkBox in Header column I should be able to loop through all the group row level checkboxes and select all the check boxes in group level rows.
and when I select the checkBox in group1 (let's main group) I should be able to loop through all the sub-group level checkboxes and select all the check boxes in sub-group level rows.
I am able to select the corresponding checkBoxes in the actual data rows on the selection of Header checkbox/main group checkbox/Sub-group checkbox but could not get hold of group level checkboxes.
Can some please help on this?
Thanks
Sayap
Hi Steve,
I got the same question as Harold E. How do we get the row collection? (given user clicks on the checkbox from the sub group level header row, so that I can only select/unselect the belonging rows' checkboxes)
Please advise.
Chris L
Hi Steve
How can identify the actual GroupbyRow in a xamgrid?
When I click on a column header (with a checkbox), how to get the row collection?
Harold E.
Hi Sayap,
To access the row data of a particular GroupByRow, you can use:
RowCollection rows = ((GroupByRow)this.grid1.Rows[0]).Rows;
foreach (Row row in rows)
{
}
Hope this helps,
-SteveZ