Configure stable's sZeroRecord parameter but no pagination

2

I'm using the DataTable function:

"oLanguage": {
                "sZeroRecords": "Não há registros para mostrar"
            }
        });

But on my screen appears the export buttons, pagination without me having configured these options ... In case I would just like to use sZeroRecords without the other options, can I do this?

    
asked by anonymous 16.11.2015 / 20:29

1 answer

2
  

Paging Description

     

DataTables can split the rows into tables into individual pages, which   is an efficient method of showing large numbers of records in a small   space. The end user is provided with controls to request the display   of different data to navigate through the data. This feature is   enabled by default, but if you wish to disable it, you may do so   this parameter.

According to the documentation, if you do not set anything, the default is true, that is, it will have pagination (as described above) and other features also by default. To disable some features, see an example:

$('#example').DataTable( {
    paging: false,    // desativa paginação 
    ordering: false, //desativa ordenação no cabeçalho
    searching: false // desativa a pesquisa no topo
} );

See an example in the here documentation

References:

link

link

    
16.11.2015 / 20:45