Editable Grid is not Saving the update
Editable Grid is not Saving the update
Hi all , am trying to use the Editable Gridview for Server Side Datasource , but the problem is that whenever i edit , the modification will be lost ..and nothing happen to the Data ,,,here i will post my initiation of the table
[code]
<!-- Initaite the table instance -->
var oTable;
$(document).ready(function() {
oTable = $('#Myexample').dataTable( {
"bProcessing": true,
"bServerSide": true,
"sAjaxSource": "examples/examples_support/server_processing.php",
"fnDrawCallback": function () {
$('#Myexample tbody td').editable( 'examples/examples_support/editable_ajax.php', {
"callback": function( sValue, y ) {
/* Redraw the table from the new data on the server */
oTable.fnDraw();
},
"height": "20px"
});
}
} );
} );
[/code]
advice please :)
[code]
<!-- Initaite the table instance -->
var oTable;
$(document).ready(function() {
oTable = $('#Myexample').dataTable( {
"bProcessing": true,
"bServerSide": true,
"sAjaxSource": "examples/examples_support/server_processing.php",
"fnDrawCallback": function () {
$('#Myexample tbody td').editable( 'examples/examples_support/editable_ajax.php', {
"callback": function( sValue, y ) {
/* Redraw the table from the new data on the server */
oTable.fnDraw();
},
"height": "20px"
});
}
} );
} );
[/code]
advice please :)
This discussion has been closed.
Replies
Allan
Allan