Responsive Extension "Whole row child row control" Bug

Responsive Extension "Whole row child row control" Bug

gvnmccldgvnmccld Posts: 1Questions: 0Answers: 0

Summary: When using the responsive extension and whole row child row control, if you click on rows when there is no child data to display the control field icon switches to a shown (-) icon.

http://jsfiddle.net/D9Z9M/

Test Case:

  1. Expand the window so that the table is fully expanded and does not show the control icon.
  2. Click on some rows
  3. Resize screen down so that some columns are hidden
  4. The rows that were clicked now have (-) control icons and are not displaying their data

I was able to solve this by changing line 438 of dataTables.responsive.js to: "if (dt.columns().visible().indexOf(false) !== 0) {"

This solves the problem I'm seeing, but I don't know if it will have repercussions anywhere else.

Replies

  • allanallan Posts: 63,552Questions: 1Answers: 10,477 Site admin

    Fix committed. Thanks for letting me know about this!

    Allan

This discussion has been closed.