Quantcast
Channel: Free community support — DataTables forums
Viewing all articles
Browse latest Browse all 35271

Responsive Extension "Whole row child row control" Bug

$
0
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.


Viewing all articles
Browse latest Browse all 35271

Trending Articles