Data doesn't load when table is responsive:

Data doesn't load when table is responsive:

RandomGuyRandomGuy Posts: 2Questions: 2Answers: 0

I am trying to create a responsive table so it works on mobiles too. Here's my script:

$(document).ready(function() {
var oTable = $('#tradetable').dataTable( {

                'bAutoWidth': false,
                "iDisplayLength": 100,
                "bProcessing": true,
                "bJQueryUI": true,
                 "ajax": "http://cryptxe.co/dashboard/dashboardtrades",
         "responsive":true,         
            } );

Also, I have a page that pulls database information like so:

{ "data": [["1","btc_usd","465","13:00:00","admin","buy"], ["2","btc_usd","465","13:00:00","admin","buy"]]}

How can I update the above table to update the table without refreshing and without clicking a button?

This discussion has been closed.