Table in td

Table in td

FletcherFletcher Posts: 2Questions: 1Answers: 0

Hello,
I created table like this:

`

Col 1 Col 2 Col 3 Col 4
Value Col 1
Col 2 SubCol 1 Col 2 SubCol 2 Col 2 SubCol 3 Col 2 SubCol 4 Col 2 SubCol 5 Col 2 SubCol 6
Value Col 2 SubCol 1
Value Col 2 SubCol 2 1
Value Col 2 SubCol 2 2
Value Col 2 SubCol 2 3
Value Col 2 SubCol 3 1
Value Col 2 SubCol 3 2
Value Col 2 SubCol 3 3
Value Col 2 SubCol 4 1
Value Col 2 SubCol 4 2
Value Col 2 SubCol 4 3
Value Col 2 SubCol 5 1
Value Col 2 SubCol 5 2
Value Col 2 SubCol 5 3
Value Col 2 SubCol 6 1
Value Col 2 SubCol 6 2
Value Col 2 SubCol 6 3
Value Col 3 SubCol 1
Col 3 SubCol 1 1 Col 3 SubCol 1 2
Value Col 3 SubCol 1 1 Value Col 3 SubCol 1 2

`

When i export in pdf or csv the tables in td are not displaying correctly.

Is this a bug ? An HTML structure issue ? Is there a fix ?

Thank you for your reply.

Fletcher

Answers

  • colincolin Posts: 4,671Questions: 0Answers: 817

    Hi @Fletcher ,

    We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.

    Cheers,

    Colin

  • FletcherFletcher Posts: 2Questions: 1Answers: 0

    Hi Colin,
    Thank you for your reply. Here is a link to the test case : http://www.thomjoo.com/Test_DataTable/

    Regards

  • colincolin Posts: 4,671Questions: 0Answers: 817

    Hi @Fletcher ,

    Thanks for that, that helps.

    This thread here might help, it's definitely worth looking at the code in the solution. This is to do with child row - yours isn't a child row, but has a level of complexity that isn't normally expected.

    TableTools was the precursor to the Buttons export - and that type of export wasn't support there, so I suspect the same would be true for the current implementation.

    Cheers,

    Colin

Sign In or Register to comment.