Table Footer Hidden with Responsive

Table Footer Hidden with Responsive

JoyrexJoyrex Posts: 92Questions: 14Answers: 3

I noticed this when implementing Responsive on tables we have where a footer is in place. If you use the Responsive plugin and the corresponding code to assign the first empty column a 'control' class (this is where the expand/collapse buttons will appear), the footer picks up on this class assignment as well, and renders the footer invisible when Responsive is invoked.

Here's an example: http://live.datatables.net/qudevehi/1/edit

For footers that are just stylistic (e.g. no data or repeating headers in footer), this is not as much of a big deal, but is there any way for the Responsive plugin to optionally ignore the tfoot tag and its children when applying any responsive classes?

This question has an accepted answers - jump to answer

Answers

  • drewturkdrewturk Posts: 27Questions: 8Answers: 0

    This would be great to know...any traction with this?

  • allanallan Posts: 63,467Questions: 1Answers: 10,466 Site admin
    Answer ✓

    Its not limited to just a column that uses the control class: http://live.datatables.net/qudevehi/12/edit .

    Its much more general than that - Responsive currently doesn't cope well with colspan (either in the header or the footer). That is something that needs to be resolved in future.

    Allan

This discussion has been closed.