Hi
I've got a grid that contains some denormalized data: product, color, size. the combination of columns is unique thoug.The user can select from this grid(using a checkbox) the product variants she wants.
The problem I have is that there could be hundreds of variants and they want to select say just 1 color of a product(meaning all sizes with that color). So they need to go and click every row for that color.
Is there a way to use the grouping functionality combined with a checkbox at the group level that when checked will select all the group details?
Thanks,
Cosmin Onea
Hi Cosmin,
I'm not sure I understand the functionality you want.
There's no built-in way to place a CheckBox in a column or group header. But this can be done using a CreationFilter and there are KB articles that show you how.
HOWTO:How can I add a CheckBox to each GroupByRow in the UltraWinGrid?
HOWTO:How do I add a CheckBox to a WinGrid column header?
Mike,
The data looks like:
Product Color Size1 RED S1 RED M1 RED L1 RED XL1 BLACK S1 BLACK M
and so on.....
The user needs to select some of the rows and most of the times entire Color sets like "give me product 1 color RED". I don't want them to go and select each and every row. I'm wondering if I can group the grid by product and color and have a check box at the color group level that when clicked will select all the sizes for that color. As I said, there are many rows in reality and selecting individual rows is time consuming.
Hope I make sense.
Cosmin .
Sounds like what you might want to use filtering. You could turn on the filter row and the user could just enter a 1 under product and RED under color and all other rows would be hidden.
To implement checkboxes on the group by rows, you would have to use the CreationFilter I linked to above.