How to supress Databand

Stimulsoft Reports.NET discussion
Post Reply
bunny0608
Posts: 2
Joined: Wed Jul 01, 2009 10:01 pm
Location: HCM

How to supress Databand

Post by bunny0608 »

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?
Jan
Posts: 1265
Joined: Thu Feb 19, 2009 8:19 am

How to supress Databand

Post by Jan »

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.
Post Reply