Problem with databand in container

Stimulsoft Reports.NET discussion
Post Reply
ChristianH
Posts: 43
Joined: Fri May 25, 2007 2:54 am
Location: Austria

Problem with databand in container

Post by ChristianH »

I´ve a databand1 where I placed three containers from left to right.

One of these containers contains another databand (databand2) that holds one field.

The three containers have to grow to equal height which works fine.
But the problem is the databand2 that doesn´t grow to the containers height and so the field is´nt high enough.
How can I achive this ?
Vital
Posts: 1278
Joined: Fri Jun 09, 2006 4:04 am

Problem with databand in container

Post by Vital »

Which version of Stimulsoft Reports.Net you are use?

Thank you.
ChristianH
Posts: 43
Joined: Fri May 25, 2007 2:54 am
Location: Austria

Problem with databand in container

Post by ChristianH »

I´m using

Version 2007.3.35 from 7 December 2007
.Net Framework v2.0.50727
Vital
Posts: 1278
Joined: Fri Jun 09, 2006 4:04 am

Problem with databand in container

Post by Vital »

Please set property CanGrow of container to true.

Thank you.
ChristianH
Posts: 43
Joined: Fri May 25, 2007 2:54 am
Location: Austria

Problem with databand in container

Post by ChristianH »

That´s already set.
The container grows correctly, but the databand within doesn´t.
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Problem with databand in container

Post by Edward »

Sorry, but we couldn't reproduce the issue.

Please see the report in the attachment.
Attachments
24.CanGrow.mrt
(6.3 KiB) Downloaded 173 times
ChristianH
Posts: 43
Joined: Fri May 25, 2007 2:54 am
Location: Austria

Problem with databand in container

Post by ChristianH »

Thanks for the example. That´s how my report looks like.

But my problem occurs if there´s only one or two rows in the textbox.
You´ll see it in your example if you replace the value in textbox from "1 2 3 4 5" to "1".
The databand then doesn´t grow to height.

My problem is that I´d like to stretch the databand height to container height and set vertical align of the row to middle.
Maybe a missing feature ? :blush:
Guest
Posts: 182
Joined: Tue Jun 06, 2006 8:04 am

Problem with databand in container

Post by Guest »

This is a usual behaviour of a databand. If a databand has many records, then the container grows with the databand. If a databand has a few records, then the databand simply prints in the container and this container is not grows, because the summary height of the all records of the databand less than the height of the container. The same occurs at the printing databand on a page.

So, unfortunately, we nothing can advise to you for this case.

Thank you.
Post Reply