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

An Idea for Your Grouping Documentation

1 Answer 60 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Greg
Top achievements
Rank 1
Greg asked on 12 Apr 2012, 01:36 AM
Hi Telerik!  Today I've been learning about grouping (in tables, to be specific).  Could you please add to your documentation that a table must first have the Detail group before you can add any other groups?  I spent an unfortunate amount of time thinking that a parent row grouping could be added *before* the Detail grouping.  Bummer, dude.  Sad panda.

So yeah, I like to think of myself as a little mine sweeper.  If I find a mine, I like to plant a little flag so that others don't have to walk over the mine.  Anyhoo... yeah, Detail first, then other table groups.

1 Answer, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 12 Apr 2012, 04:28 PM
Hi Greg,

There is no prerequisite to have a detail group in the Table/CrossTab/List report item. The easiest way to verify that is to drag & drop the CrossTab item onto the design surface, open the Group explorer and verify that it does not have a detail group. More structured information about the Table item, Detail and Group data is available in the Basic concepts help article.
To illustrate it in a more straight-forward and probably easy to grasp way, depending on the grouping criteria, we have:
  • dynamic groups - have any Grouping expression, ex. group1.Grouping.Add(new Grouping("=Fields.Country")). For the dynamic groups, the corresponding row/column will repeat for every record of the grouped data.
  • static groups - no grouping criteria at all. For the static groups the corresponding row/column is rendered only once.
  • detail groups -have a single empty grouping, ex. group1.Grouping.Add(new Grouping()). Usually you have only one row -or- column detail group. For a detail group the corresponding row/column is repeated for every row of the Table's data source. You may think of the detail TableGroup as the Report's Detail section.
Regards,
Steve
the Telerik team
NEW in Q1'12: Telerik Report Designer (Beta) for ad-hoc report creation. Download as part of Telerik Reporting Q1 2012. For questions and feedback, use the new Telerik Report Designer Forum.
Tags
General Discussions
Asked by
Greg
Top achievements
Rank 1
Answers by
Steve
Telerik team
Share this question
or