How to use oTable.makeEditable() in Data Table version 1.10.9

How to use oTable.makeEditable() in Data Table version 1.10.9

VishnuHBSVishnuHBS Posts: 20Questions: 2Answers: 0
oTable.makeEditable({
 "columns" : [
 null,
 null,
 null,
 null,
 {
 indicator : "Saving Answer...",
 tooltip : "Double click to update the Answer",
 type : "textarea",
 submit : 'Reply For the Post',
 data : " ",
 sUpdateURL : function(value,settings) {
 $.ajax({
 type : "POST",
 url : 'queryAnswerUpdate.do?autoId=' + this.parentNode.lastChild.innerHTML,
 data : {answer:value},
 complete : function(data) 
 {
 oTable.draw();
 alert("Answer Replied Successfully");
 }
 }); 
 return value;
 }, 

 },
 null, null, null, null, null ]
 }); 

Replies

This discussion has been closed.