selectbox issue
selectbox issue
srimanta12
Posts: 12Questions: 0Answers: 0
Hi,
How to fetch the data from the database for select box in datatables. e.g.
[code]
$('#example').dataTable().columnFilter({
aoColumns: [ null,null,null,null,null,null,{ type: "select", values: [ '0', '1'] },null,null]
});
[/code]
instead of using the static value of "type: "select", values: [ '0', '1'] " how to put dynamic value over there?
How to fetch the data from the database for select box in datatables. e.g.
[code]
$('#example').dataTable().columnFilter({
aoColumns: [ null,null,null,null,null,null,{ type: "select", values: [ '0', '1'] },null,null]
});
[/code]
instead of using the static value of "type: "select", values: [ '0', '1'] " how to put dynamic value over there?
This discussion has been closed.