makeEditable, give parameters to own function
makeEditable, give parameters to own function
My code:
$("#"+this.id).dataTable().makeEditable(
{sUpdateURL: function(value, settings) {
alert("test1 "+ value + "id" + ID);
return value; }}
How do I get the data from the row, such as:
- id - id of the updated record (id is placed in the tag that surrounds the cell)
- columnId - position of the column of the cell that has been edited (hidden columns are counted also)
- columnPosition - position of the column of the cell that has been edited (hidden columns are not counted)
- rowId
as parameters in my own function? I cannot use a direct AJAX request but I need the data that would have been send in the POST to be send to my own function. How do I do that?
FrescoNed
$("#"+this.id).dataTable().makeEditable(
{sUpdateURL: function(value, settings) {
alert("test1 "+ value + "id" + ID);
return value; }}
How do I get the data from the row, such as:
- id - id of the updated record (id is placed in the tag that surrounds the cell)
- columnId - position of the column of the cell that has been edited (hidden columns are counted also)
- columnPosition - position of the column of the cell that has been edited (hidden columns are not counted)
- rowId
as parameters in my own function? I cannot use a direct AJAX request but I need the data that would have been send in the POST to be send to my own function. How do I do that?
FrescoNed
This discussion has been closed.