Alternatives for HTML table

Stimulsoft Reports.WEB discussion
Post Reply
roshna
Posts: 5
Joined: Wed Sep 18, 2013 6:27 am

Alternatives for HTML table

Post 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!
Lech Kulikowski
Posts: 6266
Joined: Tue Mar 20, 2018 5:34 am

Re: Alternatives for HTML table

Post 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.
roshna
Posts: 5
Joined: Wed Sep 18, 2013 6:27 am

Re: Alternatives for HTML table

Post 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!
Lech Kulikowski
Posts: 6266
Joined: Tue Mar 20, 2018 5:34 am

Re: Alternatives for HTML table

Post by Lech Kulikowski »

Hello,

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

Thank you.
JohnW
Posts: 103
Joined: Mon Nov 20, 2017 8:29 pm

Re: Alternatives for HTML table

Post by JohnW »

There is a table component in the Report Designer. Does that work for what you need?
Lech Kulikowski
Posts: 6266
Joined: Tue Mar 20, 2018 5:34 am

Re: Alternatives for HTML table

Post by Lech Kulikowski »

Hello,

Thank you for your suggestion.
Post Reply