the search filter or what ever its called

the search filter or what ever its called

PaulFreeWebsPaulFreeWebs Posts: 63Questions: 4Answers: 1
edited March 2013 in TableTools
how can i just get the search filter as i dont want it to re order it in to a-z order i just want the search bar so i can use it to search in to tables

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,470 Site admin
    So you want to display sorting - is that correct? Use bSort .

    Allan
  • PaulFreeWebsPaulFreeWebs Posts: 63Questions: 4Answers: 1
    no i just want the search box thing and thats it so i can type something in and it will just show that
  • allanallan Posts: 63,498Questions: 1Answers: 10,470 Site admin
    Sorry I didn't mean to say 'display', but rather 'disable'. Do you want to disable sorting? You only want filtering correct? So disable the other features you don't want - sorting, paging.

    Allan
  • PaulFreeWebsPaulFreeWebs Posts: 63Questions: 4Answers: 1
    so all i need is that bsort you gave me?
  • allanallan Posts: 63,498Questions: 1Answers: 10,470 Site admin
    If you want to disable sorting - yes. You said you don't want sorting, so I presume you want to disable sorting and as I have said, sorting can be disabled with bSort .

    Example: http://live.datatables.net/axelam/edit#javascript,html . Click the `Render` button to see live.

    Allan
  • PaulFreeWebsPaulFreeWebs Posts: 63Questions: 4Answers: 1
    i have a template design that comes with datatables but cant find this code
This discussion has been closed.