This is a migrated thread and some comments may be shown as answers.

Get Group Count

3 Answers 444 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Peter
Top achievements
Rank 1
Peter asked on 28 Oct 2010, 08:32 AM
How can I get a group header to display the total number of rows in that group. Either programmatically or during design time, I don't mind.

Thanks!

3 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 29 Oct 2010, 05:03 PM
Hello Peter,

In order to get the group's total number of rows add a textbox to the group header with the following expression for Value: = Count(1)  

All the best,
Peter
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
0
Iman
Top achievements
Rank 1
answered on 24 May 2016, 08:10 AM

Hi,
How could we set a group number in a details textbox? for example:
1.Materials(Group1)
  1.1 Iron
  1.2 Wood
  1.3 Water
2.Optional Materials(Group2)
  2.1 NaCl
  2.2 MgO
----------------------
so i need the goup numbers to do it. how could i get it?


0
Stef
Telerik team
answered on 26 May 2016, 12:12 PM
Hi Iman,

If data is organized as follows:
groupField,detailField
materials,mat1
material,mat2
opt.material,opt1
 You can group by groupField and display the detail Field in the Detail section.


For more details, please check Grouping Data.

Regards,
Stef
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
Tags
General Discussions
Asked by
Peter
Top achievements
Rank 1
Answers by
Peter
Telerik team
Iman
Top achievements
Rank 1
Stef
Telerik team
Share this question
or