Datatables 表+;数据表+;服务器端处理
我有这段代码Datatables 表+;数据表+;服务器端处理,datatables,jeditable,Datatables,Jeditable,我有这段代码 $(document).ready(function() { var oTable = $('#example').dataTable( { "bProcessing": true, "bServerSide": true, "sAjaxSource": "../listagem/listar_manuais.php", "sPaginationType": "full_numbers", "fnDrawCallback": f
$(document).ready(function() {
var oTable = $('#example').dataTable( {
"bProcessing": true,
"bServerSide": true,
"sAjaxSource": "../listagem/listar_manuais.php",
"sPaginationType": "full_numbers",
"fnDrawCallback": function () {
$('td', this.fnGetNodes()).editable( 'update.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') };
},
"height": "14px"
} );
}
});
} );
它所做的是在服务器端搜索数据表
我的问题是,我不知道从这里该怎么做,让服务器端处理功能正常
有人能帮忙吗这些值将位于update.php中的HTTP请求对象中。根据上面的代码,更新后的值位于“value”中,row\u id位于“row\u id”中。这些值将位于update.php中的HTTP请求对象中。根据上述代码,更新后的值位于“值”中,行id位于“行id”中