0
votes

I am new to jquery and Data tables. I have a drop down when user select one value it will search the data and draw a table.This search and drawing a table both are default properties of data tables. Now i want the user can select multiple value.

And based on the multiple selection the search should happen.I did lot of search on this but didn't get any thing. Any help will be appreciate !!

In this image i have selected one value from drop down and based on that two entries are populating on table. now i want to select multiple values here in this drop down , may be using check box after that need the search should work with both selected entries. enter image description here

1
you means, attribute to select as multiple ?Rahul
@V for Vendetta .Yessashikanta

1 Answers

0
votes

I did this . I am posting this answer because it may be help some one.

jQuery MultiSelect is a jQuery plugin that turns a multiselect list into a nice dropdown list with checkboxes. This plugin is easy to use and very useful in web form. You need to use two library called jquery.multiselect.css and jquery.multiselect.js. if you will search examples of multi select using J query you will find many links and that will work perfect with your data tables. For search option You need to pass multiple value to the function which is constructing your data tables. See below link for details.

http://www.codexworld.com/multi-select-dropdown-list-with-checkbox-jquery/