Separate Search textbox or combo box

Separate Search textbox or combo box

adromiladromil Posts: 53Questions: 4Answers: 0
edited January 2012 in General
Hi Allan,

Can I make a separate search control like input textbox or dropdown combobox as search box using datatables?
I just wanted to use datatable as a viewing control/object and the search control/object is not in the js.
thanks.

Replies

  • adromiladromil Posts: 53Questions: 4Answers: 0
    I plan to use an html control can this be possible?
    Thanks in advanced.
  • allanallan Posts: 63,538Questions: 1Answers: 10,476 Site admin
    > Can I make a separate search control like input textbox or dropdown combobox as search box using data tables?

    You most certainly can. Just use the fnFilter API method to filter the table based on whatever input you want.

    Allan
  • adromiladromil Posts: 53Questions: 4Answers: 0
    Hi Allan,

    Thank you for the prompt reply. It is too much to ask if you could have me an example using fnFilter with a control?

    Adro
  • adromiladromil Posts: 53Questions: 4Answers: 0
    Hi Allan,

    I'm so sorry if I haven't checked thoroughly on the documentation. I think I already have the example I need in the examples/api/ directory (regex.html).

    Once again thank you very much. :D

    Adro
This discussion has been closed.