GroupHeaderBand with Collapse interaction

Stimulsoft Ultimate discussion
Post Reply
User avatar
tpontow
Posts: 206
Joined: Thu Sep 06, 2012 8:46 am
Location: Bonn, Germany

GroupHeaderBand with Collapse interaction

Post by tpontow »

Hello Stimulsoft-Team,

is it possible to use a GroupHeaderBand and collapse interaction without showing the +/ - Icons for collapsing / expanding in the rendered report? I like to collapse and expand Groups by certain value conditions but after rendering the user should not expand or collapse Groups himself. The report should remain as it was rendered.

How can i achieve this?

Thanks and kind regards
Thorsten Pontow
Thorsten Pontow

It is easier to write an incorrect program than to understand a correct one. (Alan J. Perlis, Epigrams in programming No. 7)
User avatar
tpontow
Posts: 206
Joined: Thu Sep 06, 2012 8:46 am
Location: Bonn, Germany

Re: GroupHeaderBand with Collapse interaction

Post by tpontow »

I found the solution myself. I have to set CollapsingEnabled to false.

Code: Select all

StiBandInteraction interaction = new StiBandInteraction
 {
       CollapsingEnabled = false
};
Thorsten Pontow

It is easier to write an incorrect program than to understand a correct one. (Alan J. Perlis, Epigrams in programming No. 7)
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Re: GroupHeaderBand with Collapse interaction

Post by Edward »

Hi Thorsten,

You absolutely correct, I agree that saving a report as a class that you mentioned you did in some previous comments, helps to investigate the properties of the components and their values much quicker and easier.

Thank you,
Edward
Post Reply