Datatable & JEditable
Datatable & JEditable
marco_il_serio
Posts: 5Questions: 0Answers: 0
Hi,
i have installed JEditable to get editable a cell of my table. How can i send to my php script all row data of edited cell? This is mys source code
$('td:eq(2)', oTable.fnGetNodes()).editable( '/jumi_includes/script_update_news_sito.php', {
"callback": function( sValue, y ) {
var aPos = oTable.fnGetPosition( this );
oTable.fnUpdate( sValue, aPos[0], aPos[1] );
},
"submitdata": function ( value, settings ) {
return {
"row_id": this.parentNode.getAttribute('id'),
"column": oTable.fnGetPosition( this )[2]
};
},
"height": "14px"
} );
Thanks in advance.
i have installed JEditable to get editable a cell of my table. How can i send to my php script all row data of edited cell? This is mys source code
$('td:eq(2)', oTable.fnGetNodes()).editable( '/jumi_includes/script_update_news_sito.php', {
"callback": function( sValue, y ) {
var aPos = oTable.fnGetPosition( this );
oTable.fnUpdate( sValue, aPos[0], aPos[1] );
},
"submitdata": function ( value, settings ) {
return {
"row_id": this.parentNode.getAttribute('id'),
"column": oTable.fnGetPosition( this )[2]
};
},
"height": "14px"
} );
Thanks in advance.
This discussion has been closed.