Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Oct 2012
    Location
    mother land --india
    Posts
    179
    Thanks
    39
    Thanked 2 Times in 2 Posts

    need help to configure jqueryui tabs in even listener

    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.
    Code:
    // 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.
    Even listener source : DataTables example - Child rows (show extra / detailed information)
    1) I want to add a Tabs | jQuery UI 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.

  • #2
    Regular Coder
    Join Date
    Oct 2012
    Location
    mother land --india
    Posts
    179
    Thanks
    39
    Thanked 2 Times in 2 Posts
    oops seems I am unclear ....I see 227 view but no single comment


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •