After fnFilter searching how to know the total no of searched recourds in table.

After fnFilter searching how to know the total no of searched recourds in table.

sathishhavaligisathishhavaligi Posts: 1Questions: 0Answers: 0
edited March 2014 in General
I am doing search operation in data table.

I am writing code like this.

var oTable = $('#datatable-passages-list').dataTable(
{ "bDestroy":true,
"bPaginate": true,
"aoColumns": [null, null, null, null, null, null, null, null,null],
"aoColumnDefs": [{"bSortable": false, "aTargets": [0,1,9]}],
"oLanguage": {
"sZeroRecords": "No Passage found matching the search criteria.",
"sInfoFiltered": "(filtered from _MAX_ assessments)"
}
});
oTable.fnFilter(StarsUtility.Trim($('#myInputTextField').val()));

When I am searching some string, let us think search result is 5. At that time I am no need to show the paging, I want to show only total search results is more then 10.

How can I find the search results is more then 10 or not?

Please give me some suggestions on the above query,

Thanks,
Sathish.H
This discussion has been closed.