CSS and Convert CSV to HTML Table
Good day,
When using the "Convert CSV to HTML Table" operation is there a built in way to style the table?
Thanks,
Matt
- DDaniel Horton @daniel.horton
Hi Matty,
Not specifically when using that method. It is presumed that the HTML would be embedded into a HTML file/object that contains external styling which would apply to the HTML object you insert from ThinkAutomation. You can use the HTML Wrap Action to potentially perform the generation of your styled full HTML document within ThinkAutomation - https://support.thinkautomation.com/#wrap-html
Okay thanks got it.
I have been working on a convert CSV to HTML table project incorporating a webform automation and was thinking it would be very cool to somehow incorporate https://bootstrap-table.com/docs/getting-started/introduction/.
Is there a way to add
<script></script>
and will the page also have jquery as per the getting started docs?
Thanks,
Matt
- DDaniel Horton @daniel.horton
Hi Matty,
Yes, that should be possible to include into the Wrap HTML action type. There is existing support for Bootstrap itself but additional libraries or CSS would require referencing for them to function.
Thanks Daniel,
When I inspect the webform result page i see that there is an error relating to Jquery:
Uncaught TypeError: Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.
at Object.jQueryDetection (util.js:179:13)
at util.js:195:6
at bootstrap.min.js:6:200
at bootstrap.min.js:6:288- DDaniel Horton @daniel.horton
Hi Matty,
Is this only occurring when you run your content? It is possible to supply the content you are using so we can review it further?