I have a RadGrid that has another RadGrid nested which also has another nested RadGrid. So there are 3 levels: Level 1 has information about a costumer, level 2 has information about customerĀ“s purchases, and level 3 has info about products that the costumer has bought during the purchase.
Now, I need to be able to select the level 2 row (purchase) and then access the data on all levels to construct a receipt of the purchase. I was able to add the checkbox column to level 2 by adding the GridClientSelectColumn to the column collection and enabling the client side row selection. So visually I have what I need. But my big problem now is:
How do I access the data (contents of the cells) on all levels when I press a "print receipt for selected purchase" -button? I tried accessing it rought the RadGrid1.SelectedItems, but it was null. With just one RadGrid setup I could just use RadGrid1.SelectedItems[0].Cells, but that wont of course work with nested grids.
This might be a noob question, as I am very new to Telerik components. Any recommendations for "RadGrid for dummies" tutorials are welcome.
Thanks in advance!
Now, I need to be able to select the level 2 row (purchase) and then access the data on all levels to construct a receipt of the purchase. I was able to add the checkbox column to level 2 by adding the GridClientSelectColumn to the column collection and enabling the client side row selection. So visually I have what I need. But my big problem now is:
How do I access the data (contents of the cells) on all levels when I press a "print receipt for selected purchase" -button? I tried accessing it rought the RadGrid1.SelectedItems, but it was null. With just one RadGrid setup I could just use RadGrid1.SelectedItems[0].Cells, but that wont of course work with nested grids.
This might be a noob question, as I am very new to Telerik components. Any recommendations for "RadGrid for dummies" tutorials are welcome.
Thanks in advance!