DataTable ajax.reload by default in all tables


Could it be possible to make all the tables have the reload configured by default? I have configured the language, the design and a little more by default in all the tables, but now that I've been investigating I started using the

setInterval( function () {
}, 30000 );

So that the table recharges every x time. Is there any way in which this can be done? Or do I have to put this function in all the tables that I create? I know that for this kind of thing it is better to use a socket. Greetings,

asked by S. Wasta 01.01.2019 в 23:31

0 answers