How to Count Jquery Data-table Individual column (select inputs) total values or options and display at top of Column Header
Dear All,
- In my jsfiddle there is a code where I am able to display information using Jquery data-table which is perfectly fine .And there is column "Name" having select drop-down on top of that it which is also working fine to filter the data.
- My client insists me to get the total count of drop-down options or drop-down values for Name column and display the value on top of the column header.
https://jsfiddle.net/spspecalist87/339q4957/3/
As we can see in the drop-down of "Name" column there are 2 unique options or 2 unique values . And I need to show the number 2 on above Name column header .
Can any one please help me how can I do it.
Srk