4 Answers, 1 is accepted
0
Princy
Top achievements
Rank 2
answered on 22 May 2009, 07:26 AM
Hello Priya,
If you have several detail tables at a level then you can get the count of the detailtables in the grid using the following code:
c#:
If you want to check the count of the detailtables at each level of the grid, then you would have to try the following code:
c#:
Thanks
Princy.
If you have several detail tables at a level then you can get the count of the detailtables in the grid using the following code:
c#:
int count = RadGrid1.MasterTableView.DetailTables.Count; |
If you want to check the count of the detailtables at each level of the grid, then you would have to try the following code:
c#:
int count1 = RadGrid1.MasterTableView.DetailTables[0].DetailTables.Count; |
int count2 = RadGrid1.MasterTableView.DetailTables[0].DetailTables[0].DetailTables.Count; |
Thanks
Princy.
0
Irving
Top achievements
Rank 2
answered on 25 Sep 2015, 08:54 AM
Hi Princy,
How do I get the number of each item inside the details table and bind it in the column, like the example from this photo,
Thanks
0
Hello,
I am not completely sure what is your requirement. However, if you would like to get the number of items in the detail table you can use aggregates. Check out the following article for additional information.
You should set the ShowFooter property of the GridTableView to true. In addition you should set the Aggregate property for one of the columns to Count.
Regards,
Viktor Tachev
Telerik
I am not completely sure what is your requirement. However, if you would like to get the number of items in the detail table you can use aggregates. Check out the following article for additional information.
You should set the ShowFooter property of the GridTableView to true. In addition you should set the Aggregate property for one of the columns to Count.
Regards,
Viktor Tachev
Telerik
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 Feedback Portal
and vote to affect the priority of the items
0
Irving
Top achievements
Rank 2
answered on 02 Oct 2015, 03:27 AM
solved! Thank you Viktor