DataTables (editable) not update in SQL db
DataTables (editable) not update in SQL db
I have setup DataTables within a website for my workplace, everything is working as expected. However I've setup the editable option as the staff who will use the website are not tech savvy.
Each field that is empty comes up with 'click to edit' and/or each field with data allows me to edit. I can also see the (updating server) text that quickly disappears.
I'm not sure what information would be require to assist with troubleshooting this issue, so please find below all that I think would be appropriate.
[code]
Hospital
Description
State
Capex
Project Manager
Budget
Dates
Approved
Total
Handover
Go-Live
Loading Data
[/code]
[code]
<!-- Page Specific Plugins -->
$(document).ready(function() {
var oTable = $('#example').dataTable( {
"bProcessing": true,
"bServerSide": true,
"sAjaxSource": "includes/server_processing.php",
"fnDrawCallback": function () {
$('#example tbody td').editable( 'includes/editable_ajax.php', {
"callback": function( sValue, y ) {
/* Redraw the table from the new data on the server */
oTable.fnDraw();
},
"height": "25px"
} );
}
} );
} );
[/code]
Each field that is empty comes up with 'click to edit' and/or each field with data allows me to edit. I can also see the (updating server) text that quickly disappears.
I'm not sure what information would be require to assist with troubleshooting this issue, so please find below all that I think would be appropriate.
[code]
Hospital
Description
State
Capex
Project Manager
Budget
Dates
Approved
Total
Handover
Go-Live
Loading Data
[/code]
[code]
<!-- Page Specific Plugins -->
$(document).ready(function() {
var oTable = $('#example').dataTable( {
"bProcessing": true,
"bServerSide": true,
"sAjaxSource": "includes/server_processing.php",
"fnDrawCallback": function () {
$('#example tbody td').editable( 'includes/editable_ajax.php', {
"callback": function( sValue, y ) {
/* Redraw the table from the new data on the server */
oTable.fnDraw();
},
"height": "25px"
} );
}
} );
} );
[/code]
This discussion has been closed.