Is there a way to sum values from children to parent in self-referencing grid?
In my situation, the self-referencing grid nodes, when collapsed, the value of the parent node would be total of its children's values.
Grid's data is bound from a SqlDataSource.
Thanks for any help.
Thanh Dang
1 Answer, 1 is accepted
0
Yavor
Telerik team
answered on 14 Apr 2010, 06:22 AM
Hi Thanh,
One possible approach in this case would be to iterate through all the items in the control. The following topic contains more information on the matter:
Within each tableView, you can access the Items collection, to get a reference to all the items in the control.
I hope this information helps.
All the best,
Yavor
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.