how to implement select drop down on single column ?

how to implement select drop down on single column ?

ramsairamsai Posts: 2Questions: 2Answers: 0

Out of my three columns i need to implement select drop down and populate the options with the values in my array. How to do this. Below is my datatable code.

$('.driver-table').DataTable({
autoFill : true,
processing: true,
serverSide: true,
paging : false,
ordering:false,
info:false,
sAjaxDataProp: '',
ajax: {
url: 'search-driver',
type: 'POST',
data: {
"passport" : passport
},
},
select : {
items : 'transporter'
},
columns: [
{ data: '0.driver', title: 'Driver'},
{ data: '0.name', title: 'Existing Transporter'},
{ data: 'transporter', title: 'New Transporter'}

        ]
    });

I have tried a lot by looking into docs since 3 days but i didnt find what i want to implement. need help on this.

This discussion has been closed.