prevent search in last 2 columns not work
prevent search in last 2 columns not work
arcanisgk
Posts: 41Questions: 12Answers: 0
prevent search in last 2 columns not work:
This question has an accepted answers - jump to answer
Answers
You have 11 columns and
"columnDefs": {searchable: false, targets: [10,11]},
. The fisrt column index is 0 so you will want to usetargets: [9,10]}
for the last two columns.Kevin
@kthorngren changing to 9,10 and put "mercadeo" on search box include result of column 9 and 10 ...
columnDefs
needs to be an array of options. Like this:http://live.datatables.net/rehabiqe/4/edit
Kevin