Get Group Count

4 posts, 0 answers
  1. Peter
    Peter avatar
    95 posts
    Member since:
    Mar 2009

    Posted 28 Oct 2010 Link to this post

    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!
  2. Peter
    Admin
    Peter avatar
    1611 posts

    Posted 29 Oct 2010 Link to this post

    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
  3. DevCraft banner
  4. Iman
    Iman avatar
    4 posts
    Member since:
    May 2016

    Posted 24 May in reply to Peter Link to this post

    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?


  5. Stef
    Admin
    Stef avatar
    3053 posts

    Posted 26 May Link to this post

    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
Back to Top