Datatable makeEditable ajax call not being made

Datatable makeEditable ajax call not being made

sagar25_25sagar25_25 Posts: 10Questions: 0Answers: 0
edited August 2012 in DataTables 1.9
i have a dynamic datatable which is being generated usign server side processing. It has 3 columns and 1 hidden column for ID. When i edit the generated table , the ajax request (in sUpdateURL) to update my cell is not being made to my server. I tried to look all the working examples but cannot figure what is the issue.

This is the json response for generated request

{"sEcho":"1","iTotalRecords":3,"iTotalDisplayRecords":3,"aaData":[["1","Saurabh","Avon","Hartford"],["2","Saurabh","Avon","Hartford"],["3","Saurabh","Avon","Hartford"]]}

My jsp jquery call


$(document).ready(function() {
$("#companies").dataTable({
"bProcessing": true,
"bServerSide": true,
"sAjaxSource": "http://localhost:7001/canada/internal/basisCalculatorObjects.do?action=jqueryAction",
"sPaginationType": "full_numbers",
"bJQueryUI": true,
"aoColumns": [
{ "bVisible": false
},
{},
{},
{}]
}).makeEditable({
sUpdateURL: "http://localhost:7001/canada/internal/basisCalculatorObjects.do?action=jqueryAction"
});
});


Instead of url in the sUpdateURL i even tried js alert in makeeditable function but that alert is also not working. So it seems my makeEditable function is not being called.

Following are import of my js















Kindly guide as to what i am missing....

Replies

  • pceinc88pceinc88 Posts: 2Questions: 0Answers: 0
    Hi,

    Got the same issue with some .Net MVC method not firing also with similar code.
    Wondering if the order of your js libraries is somehow incorrect since I've often seen that the
    jquery-1.4.4.min.js should be the first jquery script.

    If you've resolved it, would like to know what you did ?

    Thanks, Rich C Date: 10/8/2012 LA, Ca
  • geetmenongeetmenon Posts: 2Questions: 0Answers: 0
    Were you able to resolve this issue? I face the same issue. sUpdateURL property setting is not being respected. Let me know the solution for this. sDeleteURL and sAddURL options are however working as expected.
This discussion has been closed.