Disable paging,ordering,info,search properties along with column definition
Disable paging,ordering,info,search properties along with column definition
mahdiyar11
Posts: 2Questions: 1Answers: 0
hello
i want to Disable paging,ordering,info,search properties along with column definition like this
<script>
$(document).ready(function() {
var table = $('#stb1').DataTable({
"paging": false,
"ordering": false,
"info": false,
"search": false } );
table.columns: [
{ "data": "Qty" },
{ "data": "Des" },
{ "data": "Price"},
{ "data": "Payable" }]
});
</script>
how can i do?
Edited by Kevin: Syntax highlighting. Details on how to highlight code using markdown can be found in this guide
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Put all the config options in one initializations code, like this:
Kevin
thas ok but searching is correct . thank you