Search Fuction not found

Search Fuction not found

novatroop77novatroop77 Posts: 14Questions: 4Answers: 0
edited March 30 in DataTables 1.9

I am trying to use the search function on a custom text box in a mvc c# application however I am having an issue
I am using datatable version Datatable version 1.9.4 I need to replace as I need to pass to the http ajax post method what the user searched for.. I dont no why the system is using quoes around the items as most the examples here do not if someone can explain that to be great. Also when I do type in my txt its not parsing the table.

Also is their anyway to find out what column datatables found the result in.

script type="text/javascript">

$(function () {

 var myTable =  $('#allSubmissions').DataTable({
     'iDisplayLength': 15,
     "bSort": true,
     "sPaginationType": "full_numbers",           
     "bLengthChange": false,
     "bDestroy": true,
     "bRetreive": true,
     "searching": true,

 $('#search-inp').on('keyup', function () {$(this).val()).draw();


Also How do I get my new search box in the location the old one was it was to the far right of the table


  • kthorngrenkthorngren Posts: 17,264Questions: 25Answers: 4,098

    am using datatable version Datatable version 1.9.4

    That is very old and I don't believe the API's, like search() is available in 1.9. The 1.9 to 1.10 conversion guide shows the 1.9 search API is fnFilter. Please see the Datatables 1.9 docs for more details. Are you able to upgrade to Datables 1.10?


Sign In or Register to comment.