need help to configure event listener
need help to configure event listener
![naveen3562003](https://secure.gravatar.com/avatar/5aa4c5d9dcd83b3b3cef836f51b0baa0/?default=https%3A%2F%2Fvanillicon.com%2F5aa4c5d9dcd83b3b3cef836f51b0baa0_200.png&rating=g&size=120)
Hi Frnds,
I am new to Jquery & Datatables but I have learn lot this week trying my self on datatables various elements. now, that I have already configured event listener as below.
// Add event listener for opening and closing details
$('#example tbody').on('click', 'td.details-control', function () {
var tr = $(this).parents('tr');
var row = table.row( tr );
if ( row.child.isShown() ) {
// This row is already open - close it
row.child.hide();
tr.removeClass('shown');
}
else {
// Open this row
row.child( test(row.data()) ).show();
tr.addClass('shown');
}
} );
I am looking for some modifications.
1) I want to add a http://jqueryui.com/tabs/ function in the child so that when ever some one opens listener I want to display information as tabs rather then just a expanded body.
So please help me on achieving same.
Answers
Still stuck here any help would appreciated. ..