Editable dataTable response Format
Editable dataTable response Format
![aravindtga](https://secure.gravatar.com/avatar/f718f1ae2f1ae9889c4e18fb5553a2a2/?default=https%3A%2F%2Fvanillicon.com%2Ff718f1ae2f1ae9889c4e18fb5553a2a2_200.png&rating=g&size=120)
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.