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

Is it possible to show hidden details onload instead of hide

$
0
0

I would like this to do the opposite (always show details and on click hide them

if ( row.child.isShown() ) {
// This row is already open - close it
row.child.hide();
tr.removeClass('shown');
}
else {
// Open this row
row.child( format(row.data()) ).show();
tr.addClass('shown');
}


Viewing all articles
Browse latest Browse all 35414

Trending Articles