Table header height

Stimulsoft Reports.NET discussion
Post Reply
Summit
Posts: 19
Joined: Wed Oct 02, 2013 10:06 am

Table header height

Post by Summit »

Hello.
Something strange is going on when I render a report with a table. I fill the report template from code and this is the template that i get (first attachment). It looks a bit strange but it renders normally. When I render it and the viewer opens everything is fine except one thing. The first column in the header won't grow in order to fit the whole contents (second attachment, the arrow points to it), although the CanGrow property is set to true for all header cells and HeaderCanGrow for the whole table is set to true as well. I probably miss some property, but I can't find which exactly.
Thanks in advance.
Attachments
Header.png
Header.png (4.45 KiB) Viewed 2259 times
repSpiCompany_Debug.mrt
(34.41 KiB) Downloaded 124 times
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Table header height

Post by Alex K. »

Hello,

We couldn't reproduce this bug. Can you please send us step by step guide how to reproduce the issue.
Also please check the last version.

Thank you.
Attachments
Capture.PNG
Capture.PNG (6.56 KiB) Viewed 2256 times
Summit
Posts: 19
Joined: Wed Oct 02, 2013 10:06 am

Re: Table header height

Post by Summit »

I'm afraid I can't provide such a guide cause this report is a part of a big program and it's quite hard to separate the code dealing with the report from the rest of it. Can you tell me whether there are any options or settings of global or report level that can cause such a trouble?
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Table header height

Post by HighAley »

Hello.

Could you describe how do you "fill the report template from code"?

Thank you.
Summit
Posts: 19
Joined: Wed Oct 02, 2013 10:06 am

Re: Table header height

Post by Summit »

Now the situation's a bit different. The first report's header is printed too high (Header2), while the other's report header is too low (Header 3, see the attachments). The trick is I'm filling both reports WITH THE SAME FUNCTION! And then I'm viewing them in StiViewerControl. What can cause such a difference? The template that I get is attached as well.
Attachments
Header2.png
Header2.png (3.82 KiB) Viewed 2236 times
repSpiCompany_Debug.mrt
(33.76 KiB) Downloaded 250 times
Header3.png
Header3.png (3.66 KiB) Viewed 2236 times
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Table header height

Post by Alex K. »

Hello,

Can you please show us your "SAME FUNCTION" for filling reports. Or send us a sample project which reproduce the issue for analysis.

Thank you.
Summit
Posts: 19
Joined: Wed Oct 02, 2013 10:06 am

Re: Table header height

Post by Summit »

I sent the file to your e-mail marked "Forum topic: table header height".
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Table header height

Post by Alex K. »

Hello,

Ok. Thank you.
Summit
Posts: 19
Joined: Wed Oct 02, 2013 10:06 am

Re: Table header height

Post by Summit »

Have you found anything? I'm waiting to hear something from you.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Table header height

Post by Alex K. »

Hello,

We responded to you on the support:
"Posted on: 28 October 2013 11:18 AM

Can you please send us a sample project with test data which we can run and we were able to see the problem.

Thank you."
Post Reply