Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $('.btn-showintern').click(function () {
- debugger;
- var tr = $(this).closest('tr');
- var table = $('#travelRequest').DataTable();
- var row1 = table.rows(tr);
- if ( row.child.isShown() ) {
- row.child.hide();
- tr.removeClass('shown');
- }
- else {
- Open this row
- row1.child(InternalTravel()).show();
- tr.addClass('shown');
- }
- $('.btn-showintern').click(function () {
- var tr = $(this).closest('tr');
- var table = $('#travelRequest').DataTable();
- var row1 = table.rows(tr);
- if ( row1.child.isShown() ) {
- row1.child.hide();
- tr.removeClass('shown');
- }
Add Comment
Please, Sign In to add comment