groupheaderband

Stimulsoft Reports.NET discussion
Post Reply
leonidio
Posts: 11
Joined: Thu Jan 04, 2007 12:39 pm
Location: São Paulo - SP - Brazil

groupheaderband

Post by leonidio »

Hello!

I'd like to know what is necessary to do so that the groupheaderband reads the parameters and changes the condition.
I have one webform to generate the report and I used the groupheaderband, but now I need to order!
Could you help me, please?!

Thanks :dumb:
Vital
Posts: 1278
Joined: Fri Jun 09, 2006 4:04 am

groupheaderband

Post by Vital »

To change order direction of GroupHeaderband you can use property SortDirection. For example:

Code: Select all

GroupHeaderBand1.SortDirection = StiGroupSortDirection.Descending;
Thank you.
leonidio
Posts: 11
Joined: Thu Jan 04, 2007 12:39 pm
Location: São Paulo - SP - Brazil

groupheaderband

Post by leonidio »

Ok but and the dynamic condition has as I to use parameters in groupheaderband?
leonidio
Posts: 11
Joined: Thu Jan 04, 2007 12:39 pm
Location: São Paulo - SP - Brazil

groupheaderband

Post by leonidio »

Hello

I need to use parameters to add more expressions in groupheaderband! The
parameters are sent by webform. How I can make this?

Thanks and good morning

ps: Sorry for my English, I am Brazilian and I do not write English very
well!!
:emb:
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

groupheaderband

Post by Edward »

You can set a custom Condition in the following way:

Code: Select all

(report.Pages[0].Components["GroupHeaderBand1"] as StiGroupHeaderBand).Condition.Value = "{Customers.CompanyName.Substring(0, 1)}";
report.Compile();
Thank you.
Post Reply