Custom datatable with Combo box (filter + dropdown) below each column header

Custom datatable with Combo box (filter + dropdown) below each column header

pankajpankaj Posts: 4Questions: 0Answers: 0
edited May 2013 in General
hi,

I want to use datatable because it comes with so many features.

But my requirement is that, I want a table with combo boxes below each column header. This combo box will act as filter for that column and is a combination of text field and drop down (like in Microsoft Excel filters).

Please let me if this is possible. If yes, then what code changes I need to implement.

Thanks,

Replies

  • rmarma Posts: 3Questions: 0Answers: 0
    Hi Pankaj

    Yes it is possible - check these

    http://www.datatables.net/release-datatables/examples/api/multi_filter.html
    http://www.datatables.net/release-datatables/examples/api/multi_filter_select.html

    If you want select option with checklist then you need third-party jquery plugin such as dropdownchecklist https://code.google.com/p/dropdown-check-list/

    There are many , check which suits your needs
  • pankajpankaj Posts: 4Questions: 0Answers: 0
    Hi rma,

    Thanks for the reply.

    But my requirement is that I want combo box in which I want to use the combination of both (multi_filter and multi_filter_select) in just one element. Also these combo boxes has be located in the row just below the each headers.

    Please let me know if it can be done?
This discussion has been closed.