how to implement select drop down and populate the data as option values?

how to implement select drop down and populate the data as option values?

ramsairamsai Posts: 2Questions: 2Answers: 0

$('.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'}

        ]
    });
This discussion has been closed.