Page 1 of 1

Alternatives for HTML table

Posted: Wed Jan 23, 2019 7:10 am
by roshna
Hello,

I need help to preview an HTML table in a Text element that allows HTML.
If that's out of the question, what are other ways I could preview the data in a report that looks like a table?
Here is how I receive the data:

Code: Select all

<table>
    <tbody>
        <tr>
            <td style="text-align: center;">&nbsp;time</td>
            <td style="text-align: center;">&nbsp;amount</td>
        </tr>
        <tr>
            <td style="text-align: center;">&nbsp;<strong>2 hrs</strong></td>
            <td style="text-align: center;">&nbsp; 8-28 %</td>
        </tr>
        <tr>
            <td style="text-align: center;">&nbsp;4 hrs</td>
            <td style="text-align: center;">&nbsp;31-51 %</td>
        </tr>
    </tbody>
</table>
<p style="text-align: center;"><strong></strong>
</p>
this is how I want it to look:
Image

Thank you!

Re: Alternatives for HTML table

Posted: Wed Jan 23, 2019 10:57 pm
by Lech Kulikowski
Hello,

Please upload your image again.

Also, please check the supported HTML tags:
https://stimulsoft.zendesk.com/hc/en-us ... gs-in-text

Thank you.

Re: Alternatives for HTML table

Posted: Sat Jan 26, 2019 6:36 am
by roshna
Yes, thanks for the link, I've seen it.

I know it is not supported, I'm asking if there are any other ways for me to show a table? should I replace the td tags with tabs and spaces? do you have other solutions to my problem?
If there are not other ways then I'm going to replace the tr tags with breaks and td tags with tabs.

If the image won't show just put the code in an html file and you'll see it, here it is again:
https://drive.google.com/file/d/1AV_ORY ... mV/preview

Thanks anyways!

Re: Alternatives for HTML table

Posted: Sat Jan 26, 2019 9:38 am
by Lech Kulikowski
Hello,

There are no ways to show a table with HTML tags.

Thank you.

Re: Alternatives for HTML table

Posted: Mon Jan 28, 2019 5:25 pm
by JohnW
There is a table component in the Report Designer. Does that work for what you need?

Re: Alternatives for HTML table

Posted: Tue Jan 29, 2019 11:20 pm
by Lech Kulikowski
Hello,

Thank you for your suggestion.