Table tag with the Div element

Hello!

Currently, the Div element of Cornerstone can be output in different tags except those related to tables.

It would be very useful to be able to nest different Div elements with table, thead/tbody, tr, td/th, just like it is possible today to nest ol/ul and li div.

Has anyone encountered this need yet? Is there a solution to customize the output of a div element?

Thanks in advance!

Hi @Jloupf,

Thanks for reaching out.
You can create a similar structure like a table using the DIV element and the flexbox settings. I would suggest you go through the following article which may help you to acheive that.

https://medium.com/@snowleo208/how-to-create-responsive-table-d1662cb62075

Thanks

Hi @tristup,

Thank you for your help but this does not answer my question.
I need to generate a table that I then manipulate with DataTable.
At the moment I am using a PHP template that I then call in the layout with cornerstone but I would like to be able to generate it with the Div Element block.

Hi @Jloupf,

Integrating the Datatable is a part of customization and it required customization and complex programing. I would suggest you consult with our Elite team, or else you can hire a developer who can assist you to do the customization.

Thanks

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.