Responsive table with autoupdate

Responsive table with autoupdate

SnowLeopardSnowLeopard Posts: 1Questions: 1Answers: 0
edited March 2015 in Free community support

I have a problem with responsive extenshion. I need to update my table every 5 seconds and use this initialization:

$(document).ready(function() {
    var table = $('#sells').dataTable( {
        "bFilter":     false,
        "processing": true,
        "serverSide": true,
        "ajax": "/scripts/get_sells.php",
        "bProcessing": false
    } );
    setInterval( function () {
    table.api().ajax.reload( null, false ); // user paging is not reset on reload
}, 5000 );
} );
} );

It works fine.
Then I added responsive class to my table. Now when table updates, expanded row collapses into one row.
Is there an easy way to fix this? Thanks.

Answers

  • mwright112mwright112 Posts: 1Questions: 0Answers: 0

    I also have the same issue. Does anyone have a fix for this?

This discussion has been closed.