Ajax call not being made when trying to update datatable
Ajax call not being made when trying to update datatable
sagar25_25
Posts: 10Questions: 0Answers: 0
when i am updating a cell of the dynamically generated datatable ajax call is not being made. Kindly guide as to what needs to be done.
Below is my jsp code snippet
$(document).ready(function() {
$("#companies").dataTable({
"bServerSide": true,
"sAjaxSource": "http://localhost:7001/canada/internal/basisCalculatorObjects.do?action=jqueryAction",
"bProcessing": true,
"sPaginationType": "full_numbers",
"bJQueryUI": true,
"sServerMethod":"POST",
"aoColumns": [
{ "sName": "ID",
"bSearchable": false,
"bSortable": false,
"bVisible": false
},
{ "sName": "COMPANY_NAME" },
{ "sName": "ADDRESS" },
{ "sName": "TOWN" }
]
}).makeEditable({
sUpdateHttpMethod: "GET",
"sUpdateURL": "http://localhost:7001/canada/internal/basisCalculatorObjects.do?action=jqueryupdate",
"aoColumns": [ null, null,
{ "placeholder" : "Update", indicator : 'saving ...', tooltip: 'click to select',
event : "click", style : "inherit" } ] });
});
Below is my jsp code snippet
$(document).ready(function() {
$("#companies").dataTable({
"bServerSide": true,
"sAjaxSource": "http://localhost:7001/canada/internal/basisCalculatorObjects.do?action=jqueryAction",
"bProcessing": true,
"sPaginationType": "full_numbers",
"bJQueryUI": true,
"sServerMethod":"POST",
"aoColumns": [
{ "sName": "ID",
"bSearchable": false,
"bSortable": false,
"bVisible": false
},
{ "sName": "COMPANY_NAME" },
{ "sName": "ADDRESS" },
{ "sName": "TOWN" }
]
}).makeEditable({
sUpdateHttpMethod: "GET",
"sUpdateURL": "http://localhost:7001/canada/internal/basisCalculatorObjects.do?action=jqueryupdate",
"aoColumns": [ null, null,
{ "placeholder" : "Update", indicator : 'saving ...', tooltip: 'click to select',
event : "click", style : "inherit" } ] });
});
This discussion has been closed.