Dynamic colspan from json data
-
Hi. Thanks for this wonderfull plugin.
I create some tables dinamically. I get the information from a json file. My table have 4 columns, but in some cases i need show only one column.
How i can to do this with Tablepress? I can assign one css id to one specific value stored into my json file and then apply colspan from css?
Without tablepress i create my table into html directly, and when one condition is done i add this line to my string:
$str_html.= '<tr class="fondoDomingos"><td colspan="4">SEMANA '.$str_semana.' (DOMINGOS)</td></tr>';
I need to do that with tablepress. It’s possible?
You can see my table here
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Dynamic colspan from json data’ is closed to new replies.