Background of column

Stimulsoft Reports.NET discussion
Post Reply
x46x
Posts: 18
Joined: Thu Aug 25, 2016 7:25 am

Background of column

Post by x46x »

Hi, I have a band with 3 column and I have setup a background of this band, but if the one column is empty I don't have a background here. it is possible to see a background even if the column is empty?

Another question is: I have a horizontal line in that band 3 column band, it is possible to see this line only in first column?

Thank you
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Background of column

Post by Alex K. »

Hello,

Could you explain your issue in more details?
You can set the background in the Condition. Also, you can check null value in it.

> Another question is: I have a horizontal line in that band 3 column band, it is possible to see this line only in first column?

Please send us a sample report with test data for analysis.

Thank you.
x46x
Posts: 18
Joined: Thu Aug 25, 2016 7:25 am

Re: Background of column

Post by x46x »

In attachment. I want the background of the band on every column even if the column is empty. If the third column is empty there is no grey background and it is transparent.. And on the left side there is a horizontal line, I want that line only in the first column..
Attachments
tttt.png
tttt.png (12.61 KiB) Viewed 2470 times
test.mrt
(12.26 KiB) Downloaded 178 times
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Background of column

Post by Alex K. »

Hello,

Please try to use the Text component instead a LinePrimitive and the following Condition:
Column != 1
and set "Component Is Enabled" option to false.

Thank you.
Attachments
Capture.PNG
Capture.PNG (10.4 KiB) Viewed 2467 times
test_modified.mrt
(10.49 KiB) Downloaded 190 times
x46x
Posts: 18
Joined: Thu Aug 25, 2016 7:25 am

Re: Background of column

Post by x46x »

Thank you, it work now! But what about a background? I want a grey backgound here even if trhe column is empty. Thank you
Attachments
test.png
test.png (172.65 KiB) Viewed 2465 times
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Background of column

Post by Alex K. »

Hello,

As a way, you can use the additional band with Panel.
Please see sample report in the attachment.

Thank you.
Attachments
test_modified2.mrt
(7.88 KiB) Downloaded 199 times
Post Reply