Exporting tables with complex header with tabletools

Exporting tables with complex header with tabletools

laryrolaryro Posts: 1Questions: 0Answers: 0
edited May 2013 in TableTools
Hello!

I'm having an issue and dunno how to solve it after many tries.

I have a datatable with complex header, but when i export it using tabletools, my complex header is gone (it exports only last TR element in HEAD)

What am I doing wrong?

here's the fiddle http://jsfiddle.net/laryro/bP2BJ/

How can I fix this?

Thanks!

Replies

  • lekhiketlekhiket Posts: 1Questions: 0Answers: 0
    Hi,
    I am having the same issue on my report and haven't found a solution. Has anyone been able to use Tabletools with complex headers?

    Thanks!
  • allanallan Posts: 63,679Questions: 1Answers: 10,498 Site admin
    No - this is not currently possible. colspan / rowspan can't be represented in CSV which is the main reason why this isn't implemented.

    Allan
  • bmaggotbmaggot Posts: 8Questions: 0Answers: 0
    edited May 2013
    I have a somewhat similar problem. But as I see I can't use colspan...

    So why can't I export table such as:
    [code]

    List1:

    Elements1Elements2

    [/code]

    I mean, I only get last line of the header exported.
  • bmaggotbmaggot Posts: 8Questions: 0Answers: 0
    "I mean - come on!"
  • allanallan Posts: 63,679Questions: 1Answers: 10,498 Site admin
    Well, its not valid HTML for a start :-). But simply put, its just the way that TableTools is programmed at the moment. You are welcome to modify it to suit your needed - it is open source after all :-)

    Allan
This discussion has been closed.