Table header height
Table header height
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.
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 (4.45 KiB) Viewed 2253 times
-
- repSpiCompany_Debug.mrt
- (34.41 KiB) Downloaded 124 times
Re: Table header height
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.
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 (6.56 KiB) Viewed 2250 times
Re: Table header height
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?
Re: Table header height
Hello.
Could you describe how do you "fill the report template from code"?
Thank you.
Could you describe how do you "fill the report template from code"?
Thank you.
Re: Table header height
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 (3.82 KiB) Viewed 2230 times
-
- repSpiCompany_Debug.mrt
- (33.76 KiB) Downloaded 250 times
-
- Header3.png (3.66 KiB) Viewed 2230 times
Re: Table header height
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.
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.
Re: Table header height
I sent the file to your e-mail marked "Forum topic: table header height".
Re: Table header height
Hello,
Ok. Thank you.
Ok. Thank you.
Re: Table header height
Have you found anything? I'm waiting to hear something from you.
Re: Table header height
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."
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."