Issue when creating header cells that span multiple columns (colspan = "2")
Issue when creating header cells that span multiple columns (colspan = "2")
vikinik01
Posts: 4Questions: 3Answers: 0
I have an issue that I'm not sure how to resolve - essentially I would like to have a few header cells that span 2 columns (having a colspan = "2" attribute) and then below each of those header cell I would like to have 2 data cells, where the first one gets its data through a property (using server-side processing), and the other one is a computed one that uses other columns' values to calculate its own ... How can I achieve this? Thanks in advance!
This discussion has been closed.
Answers
Use
columns.render
like this example. This example explains Datatables support of usingcolspan
in the header. Also see the HTML support docs for more info.Kevin