I have a report with many groups ( that means the numbers of group is unknown number ) . I have 2 types for viewing report ( detail and summary ). Detail view : show all group header and detail data . Summary view : show only group header(s) with summary data.
In summary view, I traversed all rows in report and if it's type is databand or its parent type is databand and set height to zero. It works well, however, it takes a long time to compile although the data is small. In detail view, it compiled very quick.
I guess the reason is the way to supress data ( traverse all row and set height to zero will take long time ). I wonder if there's another way to supress data?
How to supress Databand
How to supress Databand
Hello,
You can use three ways:
1. Set Enabled property of DataBand to false;
2. Set Enabled property of all components which placed on DataBand to false. Set CanShrink property of DataBand to true;
3. Create two pages in report. First page - summary view, second page - full view. Before report rendering enable required page.
Thank you.
You can use three ways:
1. Set Enabled property of DataBand to false;
2. Set Enabled property of all components which placed on DataBand to false. Set CanShrink property of DataBand to true;
3. Create two pages in report. First page - summary view, second page - full view. Before report rendering enable required page.
Thank you.