I want to know more about using jeditable with server-side processing

I want to know more about using jeditable with server-side processing

daniel.lamdaniel.lam Posts: 1Questions: 0Answers: 0
edited December 2010 in General
I want to use a server_processing.php to provide me data from the database.
After that I want to use jeditable to edit the data and pass it to save.php to update the data.

I found that I can't edit with jeditable and I have done some stupid like this.
[code]
var oTable;
$(document).ready(function() {


oTable = $('#example').dataTable( {
"bProcessing": true,
"bServerSide": true,
"sAjaxSource": "server_processing.php"
} );

/* Apply the jEditable handlers to the table */
$('td', oTable.fnGetNodes()).editable( 'save.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"
} );
} );
[/code]

What should I do when I want to use jeditable with server-side php
This discussion has been closed.