rowspan on table
rowspan on table
yu yen kan
Posts: 65Questions: 31Answers: 0
Is there anyway I customize on rowspan usage of table? I would like to enhance abit on the usage of rowspan on both header and body to support below structure
2 row header | top row header |
bottom row header | |
2 row column | top row column |
bottom row column |
Answers
Rowspan is supported in the
thead
but not thetbody
. See the HTML Requirements docs for details. See this example for using rowspan in the header.Kevin
ya, but I want it to support on tbody too, and on thead, I cannot having sorting on top and bottom row header.
this is the reason why I want to customize the rendering part
https://live.datatables.net/juwovoba/1/edit
You might want it, but it isn't possible in DataTables at the moment I'm afraid . Rows in the
tbody
are 100% separate from each other so the data in the table can be sorted and filtered independently of other rows.Sorry, but it isn't something DataTables can do.
Allan
See if this thread helps with changing the sort icons.
Kevin