Open i7slegend opened 7 years ago
I can confirm that this is still an issue. Using ":::" to perform a rowspan inside a table prevents it from being formatted by the plugin.
Edit: Upon further investigation, it seems this is in fact by design since Datatables does not support rowspan/colspan inside the table body. This makes sense if you think about how the sorting would work.
Edit2: If ever this functionality were to be implemented, perhaps a workaround could be to have an option in the \<datatables> declaration that allowed consecutive rows with the same content to be grouped using this datatables api functionality.
"spans vertically" would be a nice enhancement.
Regarding "This makes sense if you think about how the sorting would work.": The tablelayout plugin ( with {{tablelayout?tableSort=1}}
) replaces the content of the "empty" cells by the "spans value" internally.
I prefer the datatables plugin, but for the time being I need to stay with the tablelayout plugin because of the missing "spans vertically" functionality.
Hello. When I try use a ":::" (cell spans vertically) then datatable don't formatting the table. Is there a way to solve it?