fnDrawCallback with sSearch option

fnDrawCallback with sSearch option

psjandhyalapsjandhyala Posts: 6Questions: 0Answers: 0
edited March 2010 in General
Hi Allen,

Is it possible to use fnDrawCallback with sSearch option? I would like to do data filter based on the user given search input information

Please find the following code

oTable = $('#accountslist').dataTable({
"bLengthChange": false,
"bAutoWidth": false,
"bStateSave": false,
"sDom": '<"top"i<"bottom"ip',
"aoSearchCols": [
null,
{ "sSearch": $('#defaultfiltervalue').val()},
null,
null,
null,
null,
null,
null
],
"fnDrawCallback": function () {
if ( typeof oTable != 'undefined' ) {
"aoSearchCols": [
null,
{ "sSearch": $('#defaultfiltervalue').val()},
null,
null,
null,
null,
null,
null
]
}
},

Regards
psjandhyala
This discussion has been closed.