Skip to content

Commit

Permalink
Fix: Control column could be passed into the rendering function
Browse files Browse the repository at this point in the history
- If this happens then the child row display was assuming that the
  control column should be displayed in the child row, which it
  shouldn't be.
- Fixes DataTablesgh-85
  • Loading branch information
AllanJard committed Apr 27, 2016
1 parent e9b1d69 commit 95bafcb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion js/dataTables.responsive.js
Original file line number Diff line number Diff line change
Expand Up @@ -647,7 +647,8 @@ $.extend( Responsive.prototype, {
var dt = this.s.dt;

return $.map( this.s.columns, function( col, i ) {
if ( col.never ) {
// Never and control columns should not be passed to the renderer
if ( col.never || col.control ) {
return;
}

Expand Down

0 comments on commit 95bafcb

Please sign in to comment.