Page 1 of 1

Add databands dynamically

Posted: Tue Feb 20, 2024 4:17 pm
by ReportAndi
Hello,

I hope you are doing fine and can help me with this issue.

I create reports based on data of an XML file.
The XML file contains data of different images and different crosstabs.
The arrangement of the image and crosstab is always the same: Both components are part of a data band. On the left is the image and on the right the crosstab.
I want to duplicate the databand and show different images and crosstabs with different values in every databand until all data is shown.
Right now I duplicate the databand by hand using the stimulsoft designer and assign the data to the components by hand.
As the number of images is variable and can become very large I need to find another solution.

Is it possible to only implement the databand once in the designer and apply the data dynamically until all data of the XML file is shown.

You can find a demo report XML file as well as a template.

If you have any question feel free to ask me again.

Kind regards
Report Andi

Re: Add databands dynamically

Posted: Tue Feb 20, 2024 10:33 pm
by Lech Kulikowski
Hello,

You should modify your data - please all data and images in one table.
https://demo.stimulsoft.com/#Net/Images

Thank you.

Re: Add databands dynamically

Posted: Wed Feb 21, 2024 10:26 am
by ReportAndi
Hello,

thanks for the reply.
Is it possible to hand me an example XML file with designer template containing the data for the images and crosstabs?

Best regards
Report Andi

Re: Add databands dynamically

Posted: Wed Feb 21, 2024 11:18 pm
by Lech Kulikowski
Hello,

Please check the data in the attachment.

Thank you.