Calling the datatable api changes the startup properties

0

Colleagues. I have a datatable problem. I started by setting the properties:

    processing: false,
    serverSide: false,
    searching: false,
    bPaginate: false,
    bInfo:false

And I try to use api for the function:

var api = $('#tb_refeicoes').dataTable().api(); 

After this the datatable returns to display the datatable information, which was hidden at startup. I need you to stay hidden, how do you do?

    
asked by anonymous 29.03.2018 / 14:53

0 answers