John John - 1 year ago 86
jQuery Question

Need to delete the search field using datatable jquery

Possible Duplicate:

is there anyway to remove the Search bar and footer in the jquery datatable plugin

I am very new to implement datatable for sorting my column.
Now, if I click on the column header, the record is sorting fine ascending and descending order. But I don't want any search field over there, as I have one customize search box. Now I am not finding how to remove the search option. Also, After getting record, I want to export the record in a csv file. According to the current record (ascending or descending order) how to do that?
Please help me.

Answer Source

To remove the search field from your table:


$('table').dataTable({"bFilter": false});


.dataTables_filter {
  display: none;

You can read all about personalizing the jQuery DataTables here!

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download