Multiple Choice Filter

Multiple Choice Filter

isenyuvaisenyuva Posts: 3Questions: 0Answers: 0
edited August 2013 in General
Hi All,

Everything is perfect with DataTables, but I want to do multiple choice like excel 2012 filter.

for example:

http://datatables.net/release-datatables/examples/advanced_init/column_render.html

you will see " Browser " Coloumn on the datatable example. I want to choose Multiple "Browsers".

Mm. Like just ı want to select and filter both "Mozilla 1.6 and Netscape Browser 8".

Actually ı want to do like this : http://colorvila.com/preview/april/shop/

Example image : http://u1308.hizliresim.com/1d/z/s428l.jpg

Thanks.

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    So basically an `OR` filter? You can use the DataTables API fnFilter method to filter the whole table (or an individual column) by passing in a regular expression: `A|B` for example. Just use fnFilter in combination with your select filter and that will do the business.

    Allan
This discussion has been closed.