Problem with v.1.8b2 + FixedColumns and colspan in header
Problem with v.1.8b2 + FixedColumns and colspan in header
Hi,
I've read the article
http://www.datatables.net/release-datatables/extras/FixedColumns/rowspan.html
in order to implement a datatable with a header that contains colspans like so:
B2 = Rebate group
turnover
id
name
net
rebate %
DB %
outcome net %
data 1
data 1
data 1
data 1
data 1
data 1
data 2
data 2
data 2
data 2
data 2
data 2
However, I haven't been able to modify the example to work with colspans instead of rowspan. Is there any forum article or example I've missed or can anyone provide a working example on this? :-)
I've read the article
http://www.datatables.net/release-datatables/extras/FixedColumns/rowspan.html
in order to implement a datatable with a header that contains colspans like so:
B2 = Rebate group
turnover
id
name
net
rebate %
DB %
outcome net %
data 1
data 1
data 1
data 1
data 1
data 1
data 2
data 2
data 2
data 2
data 2
data 2
However, I haven't been able to modify the example to work with colspans instead of rowspan. Is there any forum article or example I've missed or can anyone provide a working example on this? :-)
This discussion has been closed.
Replies
Allan
great! Thanks for the info. It seems to work now, at least somehow. I've made a screenshot showing that the design is kind of broken (look at the different width of fixed column header and it the content).
http://www.c5solutions.de/fixed_columns_colspan_example.png
Would be great if you know what I am doing wrong.
Best regards
Thomas