For each column, you can pass column defs that define the JEditable values. If you pass null for any column, there will be no JEditable action on that column:
[code]
$(document).ready(function() {
$('#your_table').dataTable().makeEditable({
"sUpdateURL": "qa_update.php",
"aoColumns": [
null, // column 0. this column is primary key, not editable
{ // col1
placeholder : ' ',
indicator: 'Saving...',
tooltip: 'Dbl Click to edit',
type: 'select',
data: "{'':'', 'VOID':'VOID'}",
onblur: 'submit'
},
{ //col 2
placeholder : ' ',
indicator: 'Saving...',
tooltip: 'Dbl Click to edit'
},
{ //col 3
placeholder : ' ',
indicator: 'Saving...',
tooltip: 'Dbl Click to edit'
}
] // end of aoColumns
});
[/code]
Replies
[code]
$(document).ready(function() {
$('#your_table').dataTable().makeEditable({
"sUpdateURL": "qa_update.php",
"aoColumns": [
null, // column 0. this column is primary key, not editable
{ // col1
placeholder : ' ',
indicator: 'Saving...',
tooltip: 'Dbl Click to edit',
type: 'select',
data: "{'':'', 'VOID':'VOID'}",
onblur: 'submit'
},
{ //col 2
placeholder : ' ',
indicator: 'Saving...',
tooltip: 'Dbl Click to edit'
},
{ //col 3
placeholder : ' ',
indicator: 'Saving...',
tooltip: 'Dbl Click to edit'
}
] // end of aoColumns
});
[/code]