how to add dropdownlist in column of every row?
how to add dropdownlist in column of every row?

how to add dropdownlist with db records.
This question has an accepted answers - jump to answer
This discussion has been closed.
how to add dropdownlist with db records.
This question has an accepted answers - jump to answer
Answers
your question is a little to generic. What have you tried?
i want to display status in every row with multiple option. (each row contain dropdownlist and in that list there are multiple status). that status is different in every row and also i update that status on dropdownlist selection for that particular field.
You could use
columns.render
to create aselect
element with the options you want to display.Allan
http://jsbin.com/hanaruh/3/edit?html,js,output is an overkill example of what Allan is taking about
And it is possible to use the search for these fields?
Not really no. The problem is that DataTables uses cached information rather than querying the DOM for each filtering action (because that would be horribly slow). You can sort of do it using this example but it isn't really suited for filtering I'm afraid.
Allan
Thanks, I'll try to understand
The above answers helped a lot. However, how do I register the selected value of the DropDown(select) box?