Contents of Search input

Contents of Search input

ShaneBrennanShaneBrennan Posts: 49Questions: 18Answers: 1

Hopefully someone can help..

Basically I have an export to excel routine than mimics the way in which the datatable works and uses filters to narow the content down. However, the users can use the "Search" field on the datatable to narrow the list of rows down further.

I can apply these filters fine, but I can't get the contents of the "Search" field is there something like:

var table = $('#lstProjects').DataTable();
theSearch =** table.options.searchParameter()** ;

Thank you inadvance for any help given

Answers

  • ShaneBrennanShaneBrennan Posts: 49Questions: 18Answers: 1

    OOps silly me found it.

    var table = $('#lstProjects').DataTable();
    theSearch =** table.search()** ;

This discussion has been closed.