Filter Only Searches, Searchable Fields

Filter Only Searches, Searchable Fields

ajmartinajmartin Posts: 4Questions: 2Answers: 0

Hi All

I have created a data table, but the filter field is only searching the visible text not the full contents of the 5 column "Description". Is there a way I can improve the filter to search all of the content.

var myTable = $('#myTable').dataTable({
"bStateSave": true,
"lengthMenu": [[10, 25, 50, -1], [10, 25, 50, "All"]],
"order": [],
"aoColumns": [
{ "bSearchable": true, "bSortable": true, "iDataSort": 8 },// Contact Name
{ "bSearchable": true, "bSortable": true },// Group Contact Name
{ "bSearchable": true, "bSortable": true },// Category
{ "bSearchable": true, "bSortable": true, "iDataSort": 9 }, // Date
{ "bSearchable": true, "bSortable": true, "iDataSort": 10 }, // Follow Up
{ "bSearchable": true, "bSortable": true }, // Description
{ "bSearchable": true, "bSortable": false }, // Go to link
{ "bSearchable": true, "bSortable": false }, // Batch edit checkbox
{ "bSearchable": false, "bVisible": false }, // hidden contact name, for sorting
{ "bSearchable": false, "bVisible": false }, // hidden date open, for sorting
{ "bSearchable": false, "bVisible": false }, // hidden follow up date, for sorting
{ "bSearchable": true, "bSortable": false }, // hidden for enquiryno
],
});

Answers

This discussion has been closed.