Click here to Skip to main content
15,890,579 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi, i am using jquery dataTable to display employees collection to display employee Id, Employee Name , depart Name , Employee designation.

I can see DataTable, Now I have added Department name Drop Down above Jquery DataTable Now i have to filter employees Grid based on value selected in above dropdown value.

How To do this ??

Jquery experts Please help.

What I have tried:

I have added jquery DataTable for Employees and Its working ,now want to filter records based on value selected in Dropdown above it, grid should change as per change in dropdown.
Posted
Comments
Richard MacCutchan 6-Jul-19 4:35am    
Add an event handler that fires when the user selects an entry. Within the event handler you need to populate the second list based on the selected item.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900