Hi,
I need to implement several level nested hierarchy with possibility to check (or select) multiple rows, but also whole groups or sub-groups of rows (let say that for rows of orders for customers from different countries I need to group every orders of each customer together and every customers from each country together and then be able to select multiple orders – one by one or every for selected customers or every for selected country – so that after selecting one subgroup, each row of this sub-group will be selected).
I would like to use grouping for this – but I was not able to simply add check-boxes in header lines.
<telerik:GridGroupByExpression>
<SelectFields>
<telerik:GridGroupByField FieldName="countryName" HeaderText=" <input type='checkbox' onClick='CountryRowSelecting()'> " />
</SelectFields>
<GroupByFields>
<telerik:GridGroupByField FieldName="countryId" SortOrder="Descending" HeaderText="Country" />
</GroupByFields>
</telerik:GridGroupByExpression>
<telerik:GridGroupByExpression>
<SelectFields>
<telerik:GridGroupByField FieldName="customerName" HeaderText=" <input type='checkbox' onClick='CustomerRowSelecting()'> " />
</SelectFields>
<GroupByFields>
<telerik:GridGroupByField FieldName="customerId" SortOrder="Descending" HeaderText="Customer" />
</GroupByFields>
</telerik:GridGroupByExpression>
But then I was not able to properly handle these events, I think there should be some easier way.
I was also trying hierarchical grid (but I would like it with grouping more), but there with multi-rows grouping, when I selected whole category, just one sub-level subcategories was selected (but I need it for each level- e.g. after selecting some country, each order for each customer from this country would be selected).
Does radgrid somehow enable this desired behaving?
Thanks
Jan