help with databand and crossdataband

Stimulsoft Reports.NET discussion
Post Reply
edesio
Posts: 8
Joined: Fri Apr 03, 2020 12:09 pm

help with databand and crossdataband

Post by edesio »

Hello,

i need to creat an grid in my report and i'm using databand wiht crosdataband, but the collunm empty don't print in report
my databand has 8 collumns
my datasource has 4 rowscount
my datasource is in crossdataband

i'd like show the all collumns of the databand

for exemple:

how i want:
The attachment How i Want.png is no longer available
how is print:
The attachment How i Want.png is no longer available

report attached
Attachments
How is print.png
How is print.png (1.88 KiB) Viewed 1705 times
How i Want.png
How i Want.png (2.87 KiB) Viewed 1705 times
Datasource.xlsx
(4.75 KiB) Downloaded 176 times
Report.mrt
(6.48 KiB) Downloaded 175 times
Lech Kulikowski
Posts: 7344
Joined: Tue Mar 20, 2018 5:34 am

Re: help with databand and crossdataband

Post by Lech Kulikowski »

Hello,

You can add empty CrossData with CountData=4 property

Thank you.
Attachments
Report_modified.mrt
(12.48 KiB) Downloaded 228 times
edesio
Posts: 8
Joined: Fri Apr 03, 2020 12:09 pm

Re: help with databand and crossdataband

Post by edesio »

Hello,

thanks, but how i can set dinamic value in dataCrossband.countData, because my datasource is dinamic and i filter crossdataband

for example:
the group 1 has 4 rows and the group 2 has 3 rows.
the group 1 has 4 rows and the group 2 has 3 rows.
example.png (5.66 KiB) Viewed 1694 times
i'd like set values in dataCrossband2.countdata with my calc

for example: (8 - dataCrossBand1.countData)
Attachments
Report_modified.mrt
(26.77 KiB) Downloaded 204 times
Datasource.xlsx
(4.8 KiB) Downloaded 164 times
edesio
Posts: 8
Joined: Fri Apr 03, 2020 12:09 pm

Re: help with databand and crossdataband

Post by edesio »

Can someone help me?
Lech Kulikowski
Posts: 7344
Joined: Tue Mar 20, 2018 5:34 am

Re: help with databand and crossdataband

Post by Lech Kulikowski »

Hello,

You can set it in the BeforePrint event.

Thank you.
Post Reply