ReportDisplayMode Div vs Table

Stimulsoft Reports.JS discussion
Post Reply
csrt
Posts: 49
Joined: Thu Jan 17, 2019 12:38 pm

ReportDisplayMode Div vs Table

Post by csrt »

Hello.

I was reading Stimulsoft Programming Manual in order to find info about appearance.reportDisplayMode, and only found this description:
Sets the export mode for displaying report pages. It can take one of the following values of the reportDisplayMode enumeration:

Table – report elements are exported using HTML tables (default value);
Div – report elements are exported using DIV markup;
Please tell me is there a more explicit description? Because when I use this viewer setting (Div) - there is clearly a difference, some margins appear. Is there any description of the differences in render modes?
Lech Kulikowski
Posts: 6239
Joined: Tue Mar 20, 2018 5:34 am

Re: ReportDisplayMode Div vs Table

Post by Lech Kulikowski »

Hello,

There are three mode of export to HTML:
Div - in this mode all objects of a report are converted to the div block element; the report is converted precisely, except for vertical text alignment;
Span is the same as the Div mode but the span element is used;
Table - in this mode all objects of a report are converted to the table block element; in this mode the vertical text alignment is correct but, if the WordWrap is disabled then the problem may occur with long lines of text.

Thank you.
csrt
Posts: 49
Joined: Thu Jan 17, 2019 12:38 pm

Re: ReportDisplayMode Div vs Table

Post by csrt »

Hello. Thank you for your response. May be you can include this info in Stimulsoft Programming Manual?
Lech Kulikowski
Posts: 6239
Joined: Tue Mar 20, 2018 5:34 am

Re: ReportDisplayMode Div vs Table

Post by Lech Kulikowski »

Post Reply