Change default filtering from all colums to a specified column

Change default filtering from all colums to a specified column

charronmcharronm Posts: 2Questions: 0Answers: 0
edited October 2010 in General
Hi

I must say I'm really impressed by datatables.net, its easy, really customizable and it works well. There is only one thing bugging me...

By default, the table is filetered on all of its columns.
Is there a way to change this default to filter on a single specified column instead?

Thank to whoever read this and answer!

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    http://datatables.net/usage/columns#bSearchable . Use an 'aoColumnDefs' target to target all columns that you don't want to filter. Or you can detach the default search handler from the input box, and apply your own with fnFtiler.

    Allan
  • charronmcharronm Posts: 2Questions: 0Answers: 0
    I can't believe I missed that.. Exactly what I needed.
    Thank you!
This discussion has been closed.