Editable dataTable response Format
Editable dataTable response Format
aravindtga
Posts: 7Questions: 0Answers: 0
I am using datatable and datatable editable plugin for inline editing ... I called the servlet on the request to update...the data updated correctly..but the thing is the response sent from the servlet showed as alert...
My code as follows:
[code]
$('#tablename').dataTable().makeEditable({
sUpdateURL: "servletname ,
"aoColumns": [
null,
{
},
{
indicator: 'Saving Browser...',
tooltip: 'Click to edit browsers',
type: 'text',
onblur: 'cancel',
submit:'Save changes',
fnOnCellUpdated: function(sStatus, sValue, settings){
alert("as"+sValue);
alert("(Cell Callback): Cell is updated with value " + sValue);
}
}
]
});
[/code]
The function
[code]
fnOnCellUpdated: function(sStatus, sValue, settings)
[/code]
not get called when the ajax response received
So how should i make the response to call the function
Thanks in advance
My code as follows:
[code]
$('#tablename').dataTable().makeEditable({
sUpdateURL: "servletname ,
"aoColumns": [
null,
{
},
{
indicator: 'Saving Browser...',
tooltip: 'Click to edit browsers',
type: 'text',
onblur: 'cancel',
submit:'Save changes',
fnOnCellUpdated: function(sStatus, sValue, settings){
alert("as"+sValue);
alert("(Cell Callback): Cell is updated with value " + sValue);
}
}
]
});
[/code]
The function
[code]
fnOnCellUpdated: function(sStatus, sValue, settings)
[/code]
not get called when the ajax response received
So how should i make the response to call the function
Thanks in advance
This discussion has been closed.