Reload Data table

Reload Data table

walidOswalidOs Posts: 1Questions: 1Answers: 0

So my table download tthe data from cookies , that change automaticaly , so how can load my dataTable:
my code:

$(document).ready( function () {

var table = $('#myTable').DataTable({

   dom: 'Bfrtip',
    buttons: [
        {
            extend: 'excelHtml5',
            title: 'PVs'
        },
        {
            extend: 'pdfHtml5',
            title: 'PVs'
        }
    ],



   "aaData":[
[
readCookie("cc"),"2013-10-15","10:30:00"],
["1245","2013-10-15","10:30:00"]

]

});

});

This discussion has been closed.