Responsive version = 2.0.0
Code ---
var tableCollapse = true; // Add
//find 'this.s.dt.settion()[0]' before add
if(b.details.collapse != null){tableCollapse = b.details.collapse};
if(tableCollapse){c(b.table().node()).toggleClass("collapsed",e);}
Using.
Javascript init DataTable Option
responsive: {
details: {
display: $.fn.dataTable.Responsive.display.childRowImmediate,
type: '',
collapse : false
}},