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

Grouping when create report dynamically

1 Answer 181 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Slava
Top achievements
Rank 1
Slava asked on 13 Oct 2018, 10:47 AM

Hi. I try to use this example for create dynamically generated report. I'm want grouping output as described here.Only one change in code from documentation it change

group1.Groupings.Add(new Telerik.Reporting.Grouping("=Fields.ProductID"));

to

group1.Groupings.Add(new Telerik.Reporting.Grouping("=Fields.ProductID"));

 

As I understood this allow me output row with col1=1 in separate group with footer and header,  col1=2 in separate group with footer and header, and two col1=4 with separate group. But it not work as expected. I see one header, one footer and all data between this header and footer.
What I do wrong?
Thank you in advance.

1 Answer, 1 is accepted

Sort by
0
Slava
Top achievements
Rank 1
answered on 13 Oct 2018, 11:59 AM
Oh sorry. Of course change to
group1.Groupings.Add(new Telerik.Reporting.Grouping("=Fields.col1"));

Tags
General Discussions
Asked by
Slava
Top achievements
Rank 1
Answers by
Slava
Top achievements
Rank 1
Share this question
or