dataTables bSearchable not working
dataTables bSearchable not working
marceloleandroml
Posts: 4Questions: 0Answers: 0
Hi. I have this code to implementing and searchable not working.
$('#listadocumentos').dataTable({
"oLanguage": { "sUrl" : "/themes/media/datatables.Portuguese.txt" },
"bJQueryUI": false,
"bFilter": true,
"sPaginationType": "full_numbers",
"aoColumnDefs": [{ "aTargets": [ 0, 1, 2, 3, 4 ], "bSearchable": false }]
}).columnFilter()
My table doesn´t have a explicity ID ou Name to each Th.
I have 25 columns in table and I need to disable the search only in the first 5 columns.
What´s wrong?
Tks!
$('#listadocumentos').dataTable({
"oLanguage": { "sUrl" : "/themes/media/datatables.Portuguese.txt" },
"bJQueryUI": false,
"bFilter": true,
"sPaginationType": "full_numbers",
"aoColumnDefs": [{ "aTargets": [ 0, 1, 2, 3, 4 ], "bSearchable": false }]
}).columnFilter()
My table doesn´t have a explicity ID ou Name to each Th.
I have 25 columns in table and I need to disable the search only in the first 5 columns.
What´s wrong?
Tks!
This discussion has been closed.
Replies
If that's not the problem you are having, please link me to a demo showing the issue so I can understand the problem.
Allan
I allready implement this parte with succefully. $("#dataTableId").dataTable().columnFilter();
My problem is that all columns have the sort and filter, but I need to exclude some columns from filter.
Below each column displays a field to enter the value and need some columns do not have to enter this field.
like this. http://datatables.net/release-datatables/examples/api/multi_filter.html
Tks!
Allan