Error to load data after upgrade from 1.6 to 1.7.6
Error to load data after upgrade from 1.6 to 1.7.6
Fabricio_ndas
Posts: 10Questions: 0Answers: 0
Hello everyone,
I'm was using DataTable 1.6 then i've upgraded it to 1.7.6, so my table is not working anymore.
It's not showing the data that it receive from textboxes when I click save button
Save.click:
[code]
$("#save-child").click(function() {
//verifica se ja existe a funcao no insert
if ($("#child_acao").val() == 'I') {
var aTrs = oTableChild.fnGetFilteredNodes();
for (var i=0; i
I'm was using DataTable 1.6 then i've upgraded it to 1.7.6, so my table is not working anymore.
It's not showing the data that it receive from textboxes when I click save button
Save.click:
[code]
$("#save-child").click(function() {
//verifica se ja existe a funcao no insert
if ($("#child_acao").val() == 'I') {
var aTrs = oTableChild.fnGetFilteredNodes();
for (var i=0; i
This discussion has been closed.
Replies
[code]
var dsRI = [ [ '', '', '', '', '', '', '', '', '', '', '', '' ] ];
oTableChild = $('#grid-child').dataTable({
"oLanguage": { "sUrl": "./media/language/pt-br2.txt" },
"bJQueryUI": false,
"iDisplayLength": -1,
"sPaginationType": "full_numbers",
"bProcessing": false,
"bServerSide": false,
"aaData": dsRI,
"aoColumns": [
{ "sTitle": "ID" , "bSortable": false, "bVisible": false },
{ "sTitle": "IDPROPOSTA" , "bSortable": false, "bVisible": false },
{ "sTitle": "IDITEMCUSTO" , "bSortable": false, "bVisible": false },
{ "sTitle": "QTDE" , "bSortable": true, "bVisible": true },
{ "sTitle": "IDPRODUTO" , "bSortable": false, "bVisible": false },
{ "sTitle": "PRODUTO" , "bSortable": true, "bVisible": true },
{ "sTitle": "IDCIDADE" , "bSortable": true, "bVisible": false },
{ "sTitle": "CIDADE" , "bSortable": true, "bVisible": true },
{ "sTitle": "UNITÁRIO", "bSortable": true, "bVisible": true },
{ "sTitle": "TOTAL" , "bSortable": true, "bVisible": true },
{ "sTitle": "ACAO" , "bSortable": true, "bVisible": false },
{ "sTitle": "EXCEDENTE" , "bSortable": true, "bVisible": false }
],
"bAutoWidth": false,
"bLengthChange": true,
"sDom": '<"top"f<"clear">ip<"clear">> <"bottom"t>',
"aaSorting": [[ 1, 'asc' ]],
"fnFooterCallback": function ( nRow, aaData, iStart, iEnd, aiDisplay ) {
var ttotal = 0;
var nfunc = Number( $("#nfunc").val() );
var nparc = Number( $("#nparc").val() );
for (var i=0; i