Making dropdown list columns
Making dropdown list columns
bluwa
Posts: 6Questions: 2Answers: 0
Hello all, I tried everything but couldn't figure out how. I want a certain column with a dropdown list and I want to assign id numbers for <select> option. I did create a dropdown list but couldn't assign id numbers. Can you show me how to do, please?
My example is below.
http://live.datatables.net/jemuciki/1/edit
Answers
I also tried this approach but it didn't work.
http://live.datatables.net/zihotuvu/1/edit
I get error in the console.
jquery-1.11.3.min.js:2 Uncaught TypeError: Cannot use 'in' operator to search for 'length' in Blocked
Maybe this example will help:
http://live.datatables.net/qemodapi/1/edit
It uses
columns.render
to create the buttons. It uses themeta
parameter to get the row index to use as part of the ID for unique IDs. You could do something similar with a select input.Kevin