jEditable + Datatables: Been asked before but I can't figure it out!
jEditable + Datatables: Been asked before but I can't figure it out!
Hi all. Seen many posts about it, but no solutions. Have jEditable working great with (the utterly fantastic) Datatables. When I do an update the jEditable callback can't seem to refresh the datatable.
Here's a page to show you what I mean. In the source you'll see the Datatables and jEditable initialization in the head section. I'll also post just that code below the link.
http://cosmo-online.ca/templates/default/test.html
Thanks in advance for any help!
[code]
var oTable = jQuery('#invtable').dataTable(
{
"aoColumnDefs": [
{
"fnRender": function ( oObj ) {
return parseInt(oObj.aData[2]) * parseFloat((oObj.aData[7]).replace('$', ''));
},
"aTargets": [8]
}],
"bJQueryUI": true,
"sPaginationType": "two_button",
"iDisplayLength": -1,
"fnFooterCallback": function ( nRow, aaData, iStart, iEnd, aiDisplay ) {
var iTotals = 0;
for(var i=iStart ; i
Here's a page to show you what I mean. In the source you'll see the Datatables and jEditable initialization in the head section. I'll also post just that code below the link.
http://cosmo-online.ca/templates/default/test.html
Thanks in advance for any help!
[code]
var oTable = jQuery('#invtable').dataTable(
{
"aoColumnDefs": [
{
"fnRender": function ( oObj ) {
return parseInt(oObj.aData[2]) * parseFloat((oObj.aData[7]).replace('$', ''));
},
"aTargets": [8]
}],
"bJQueryUI": true,
"sPaginationType": "two_button",
"iDisplayLength": -1,
"fnFooterCallback": function ( nRow, aaData, iStart, iEnd, aiDisplay ) {
var iTotals = 0;
for(var i=iStart ; i
This discussion has been closed.