Cross-Tab: Problems with layout rendering

Stimulsoft Reports.NET discussion
Post Reply
TeWe
Posts: 8
Joined: Thu Jun 14, 2012 8:36 am

Cross-Tab: Problems with layout rendering

Post by TeWe »

Hello,

I have a problem with the layout rendering of the cross-tab. I have a table with days as colum, two kind of text as rows and text as summary. The summary text can be very short, but sometimes it's longer. The table is then not rendered very well.Some cells have more heigth in one row.

See screenshot:
Bild2.jpg
Bild2.jpg (125.75 KiB) Viewed 3265 times
I tried different thinks. So I set the "Min Size" and "Max Size" for both, widht and height. Or I set the reportoption "Number of Pass" to "Double Pass". But it didn't were shown correctly.

I also attached the layout file.
MoPlan.mrt
Layout File
(51.67 KiB) Downloaded 240 times
Is there any hint for me?

Thanks in advance.

Regards,

Thorsten
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Cross-Tab: Problems with layout rendering

Post by HighAley »

Hello.

Please, send us a sample data for report to reproduce your issue.

Thank you.
TeWe
Posts: 8
Joined: Thu Jun 14, 2012 8:36 am

Re: Cross-Tab: Problems with layout rendering

Post by TeWe »

Sorry, I don't know how and in which form to send the data.
But I can describe the input strings with more detail.
The summary text in my case is a list of strings which I concat with HTML-Tags to one string. Because of this a short string e.g. looks like "F" and a longer string looks like "FD22<br><i>FD1</i><br>ND1<br><i>TD2</i>". All other strings are without HTML.

I find out that there is no layout rendering problem if I switch off the automatic word wrapping. So I think the rendering has some problems to calculate the height correct if there is word wrap on.

Regards
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Cross-Tab: Problems with layout rendering

Post by HighAley »

Hello.
TeWe wrote:Sorry, I don't know how and in which form to send the data.
We need any data for analysis.
As a way, you can use the following code in the BeforePrint event of a page and sent us the files you get.

Code: Select all

{YourDataTableName}.DataTable.DataSet.WriteXml("e:\\data.xml");
{YourDataTableName}.DataTable.DataSet.WriteXmlSchema("e:\\data.xsd");
Thank you.
TeWe
Posts: 8
Joined: Thu Jun 14, 2012 8:36 am

Re: Cross-Tab: Problems with layout rendering

Post by TeWe »

Ok, find attached the data:
data.xml
(156.46 KiB) Downloaded 243 times
data.xsd
(3.37 KiB) Downloaded 240 times
MoPlan.mrt
(23.92 KiB) Downloaded 232 times
Thanks in advance again.

Regards
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Cross-Tab: Problems with layout rendering

Post by HighAley »

Hello.

We couldn't reproduce your issue on the latest prerelease build.
Report.png
Report.png (62.8 KiB) Viewed 3234 times
Which version do you use?
Could you provide step-by-step instruction how to reproduce it.

Thank you.
TeWe
Posts: 8
Joined: Thu Jun 14, 2012 8:36 am

Re: Cross-Tab: Problems with layout rendering

Post by TeWe »

Until now I used release version only. I use Version 2011.3.1200 from 1 December 2011. But also could reproduce it with the Version 2012.1.1300 from 3 April 2012 which I downloaded for troubleshooting reasons. The .net Version was in both cases the same as you are using.
The layout file was created with the non WPF-Version of the designer. But because our gui is developed with the wpf framwork, we use the WPF-Version of your viewer. The viewer is started with the ShowWithWpf method of the StiReport class.

As I mentioned the rendering problem will not occur if I set the Word Wrap option of the summary field to false. As long as the word warping was turned on everytime the summary text has to be wrapped the height of the cells was rendered higher than the rowheader cells. I could reproduce this with different setting of text size, with and without fixed Min and Max Size, margins.

Is there something else you want to know? Let me know.

Regards
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Cross-Tab: Problems with layout rendering

Post by HighAley »

Hello.

You chose the wrong forum thread. That's why there was a misunderstood.
We've reproduced your issue. We need time to fix it.

Thank you.
TeWe
Posts: 8
Joined: Thu Jun 14, 2012 8:36 am

Re: Cross-Tab: Problems with layout rendering

Post by TeWe »

Sorry, because I didn't knew if the problem is the (non WPF) designer or the WPF viewer, I choosed the (for my understanding) global thread.

But good to know that you now can reproduce the problem.

Regards
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Cross-Tab: Problems with layout rendering

Post by HighAley »

Hello.

The Reports.Net is not global thread. If you use both .Net and .Wpf products it better to write in the Stimulsoft Reports.Ultimate thread in future.

We are working on your issue and will let you know about the results.

Thank you.
Post Reply