Cross tab cell size auto size
Cross tab cell size auto size
Hello,
I have a problem with the cross-tab control.
I can't configure cells to auto size based on the content. It looks like here: The cell content is cut - see first column. If I set no size for Min/Max width only the first characters are displayed from each cell.
I have used Stimulsoft.WPF in the past (maybe version 2012 or something like this) and in that engine, the cells are auto sized based on content.
Do you have any advice?
Thank you.
I have a problem with the cross-tab control.
I can't configure cells to auto size based on the content. It looks like here: The cell content is cut - see first column. If I set no size for Min/Max width only the first characters are displayed from each cell.
I have used Stimulsoft.WPF in the past (maybe version 2012 or something like this) and in that engine, the cells are auto sized based on content.
Do you have any advice?
Thank you.
-
- Posts: 6266
- Joined: Tue Mar 20, 2018 5:34 am
Re: Cross tab cell size auto size
Hello,
Please send us a sample report with test data that reproduces the issue for analysis.
Thank you.
Please send us a sample report with test data that reproduces the issue for analysis.
Thank you.
Re: Cross tab cell size auto size
Hello,
I use the following data:
I have attached the sample report.
Please let me know how can I make cross-tab cell to autosize based on the content (columns should be able to have different width).
Thank you for your support.
I use the following data:
Code: Select all
{"LoggerData":[{"LoggerId":"MOD12345-0","Moment":"2020-12-31T22:00:00.000Z","Value":"5 "},{"LoggerId":"MOD12345-1","Moment":"2020-12-31T22:00:00.000Z","Value":"40 "},{"LoggerId":"MOD12346-0","Moment":"2020-12-31T22:00:00.000Z","Value":"5 "},{"LoggerId":"MOD12345-0","Moment":"2020-12-31T22:01:00.000Z","Value":"5.01 "},{"LoggerId":"MOD12345-1","Moment":"2020-12-31T22:01:00.000Z","Value":"40.01 "},{"LoggerId":"MOD12346-0","Moment":"2020-12-31T22:01:00.000Z","Value":"5.02 "}]}
Please let me know how can I make cross-tab cell to autosize based on the content (columns should be able to have different width).
Thank you for your support.
- Attachments
-
- SampleReport.mrt
- (12.44 KiB) Downloaded 99 times
Re: Cross tab cell size auto size
Hello,
I have some other information. It seems that this is happening only when the report is rendered in node.js on the server side and passed to the client as:
On the client side I'm loading the report using
Is there anything I could do better ?
Thank you, and sorry if I'm asking dumb questions![Smile :)](./images/smilies/icon_e_smile.gif)
I have some other information. It seems that this is happening only when the report is rendered in node.js on the server side and passed to the client as:
Code: Select all
report.saveDocumentToJsonString()
Code: Select all
report.load(reportJsonStringFromServer)
Thank you, and sorry if I'm asking dumb questions
![Smile :)](./images/smilies/icon_e_smile.gif)
-
- Posts: 6266
- Joined: Tue Mar 20, 2018 5:34 am
Re: Cross tab cell size auto size
Hello,
We need some additional time to investigate the issue, we will let you know about the result.
Thank you.
We need some additional time to investigate the issue, we will let you know about the result.
Thank you.
Re: Cross tab cell size auto size
Hello,
It seems that everything is getting fine when I load the fonts from the template:
Stimulsoft.Base.StiFontCollection.addOpentypeFontFile("arial.ttf");
I didn't knew it is required to render the report in node.js. Now I know. Thank you.
It seems that everything is getting fine when I load the fonts from the template:
Stimulsoft.Base.StiFontCollection.addOpentypeFontFile("arial.ttf");
I didn't knew it is required to render the report in node.js. Now I know. Thank you.
-
- Posts: 6266
- Joined: Tue Mar 20, 2018 5:34 am
Re: Cross tab cell size auto size
Hello,
Thank you for the information.
Thank you for the information.