Textbox spanning from header to footer

Stimulsoft Reports.NET discussion
Post Reply
Eugene
Posts: 28
Joined: Sat Aug 12, 2006 9:11 am
Location: Ekaterinburg, Russia

Textbox spanning from header to footer

Post by Eugene »

Hi!
I wonder is it possible that a textbox, placed on the header, spans from header, throught the databand and ends at the end of the footer? This is just one cell, containing certaint text which needs to be centered within the whole table.
Eugene
Posts: 28
Joined: Sat Aug 12, 2006 9:11 am
Location: Ekaterinburg, Russia

Re: Textbox spanning from header to footer

Post by Eugene »

Wanted to clarify, but found and update. I understand I can allow CanGrow and GrowToHeight if the textbox is located within the databand.

It turns that thre are two consecutive databands, the first one one contains values for the header of the table, the second contains the actual data. I need the textbox from the first databand stretch until the end of the footer after the second one.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Textbox spanning from header to footer

Post by HighAley »

Hello.

Unfortunately, there is no such possibility.
Could you send us any sample report template with data?
We will try to find the way out.

Thank you.
Eugene
Posts: 28
Joined: Sat Aug 12, 2006 9:11 am
Location: Ekaterinburg, Russia

Re: Textbox spanning from header to footer

Post by Eugene »

Hi,
I have prepared a sample project, removing everything irrelevant, so now there are two programmatically created and filled datatables, forwarded to the report. The passed parameters make SubReport2 become active, as desired (all other subreports have been removed to simplify).

I have marked a rectangle in blue, which we wish to be extended until the end of the table (technically, until the end of the 2nd datasource).
Attachments
WindowsFormsApplication1.zip
Sample project
(13.42 KiB) Downloaded 184 times
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Textbox spanning from header to footer

Post by Alex K. »

Hello,

Please try to please the same Text component on the second band.

Thank you.
Attachments
Capture1.PNG
Capture1.PNG (41.01 KiB) Viewed 3192 times
Eugene
Posts: 28
Joined: Sat Aug 12, 2006 9:11 am
Location: Ekaterinburg, Russia

Re: Textbox spanning from header to footer

Post by Eugene »

That's how I did it for now, thank you!
What I was trying to achieve is to center vertically in the 'blue' cell. But that's too much effort and can be omitted, since it is not achieved easily (with 1-2 propertes).
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Textbox spanning from header to footer

Post by Alex K. »

Hello,

Please try to set the ProcessingDuplicates property to GlobalMerge for both Text components.

Thank you.
Attachments
Capture2.PNG
Capture2.PNG (71.27 KiB) Viewed 3190 times
Eugene
Posts: 28
Joined: Sat Aug 12, 2006 9:11 am
Location: Ekaterinburg, Russia

Re: Textbox spanning from header to footer

Post by Eugene »

Thank you!
Works like a charm!
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Textbox spanning from header to footer

Post by HighAley »

Hello, Eugene.

We are always glad to help you.
Let us know if you need help.

Thank you.
Post Reply