• Resolved jonuk80

    (@jonuk80)


    Does this plugin allow rows to be clicked, for more detailed information about the row that was clicked? All my data is in the WP database.

    I’m aware WPDataTables do master detail tables, and I’m after this sort of thing, but with your product instead ?? Thanks

    Jon

Viewing 1 replies (of 1 total)
  • Plugin Support Syed Numan

    (@annuman)

    Hello @jonuk80,

    Yes, Clickable entire rows are quite possible with some custom work. You need to use some Custom JS and CSS to achieve this.

    Here is the JS code to add to the table’s Custom JS section.

    $('tr').click( function() {
    }).hover( function() {
    $(this).toggleClass('hover');
    });
    $(document).on('click', 'tbody tr', function(e){
    e.preventDefault();
    var url = $(this).find('a').attr('href');
    window.open(url, '_blank');
    });
    

    The CSS code to add to the Custom CSS section of the table.

    .footable tbody tr:hover {
    cursor: pointer;
    }
    

    We recommend using our dedicated support channel any support related issue. https://wpmanageninja.com/support-tickets/

    Your ticket will be answered within one hour. In the worst case, it might be twenty-four hours.

    Thanks

Viewing 1 replies (of 1 total)
  • The topic ‘Clickable rows’ is closed to new replies.