a.aoColumns[c] is undefined

a.aoColumns[c] is undefined

pramodkuberpramodkuber Posts: 2Questions: 0Answers: 0
edited December 2013 in General
Hi ,

I have refereed other post related to same error but not able to resolve my error, not sure if missing something minor.

Below is my HTML:




${cont.detId}
${cont.codeId}
${cont.siteId}
${cont.name}
${cont.description}
${cont.isActive}
${cont.createDate}
${cont.lastModiDate}
${cont.steLangu}







${row.reasonCodeDetailId}
${row.reasonCodeId}
${row.siteId}
${row.name}
${row.description}
${row.isActive}
${row.creationDate}
${row.lastModifiedDate}
${row.siteLangu}





JS:

init : function(cfg) {
var id = "#" + cfg.id;
oTable = $(id).dataTable({
"bJQueryUI" : true,
aLengthMenu : aLengthMenu,
"oLanguage" : {
"sLengthMenu" : cfg.showMenu,
"sSearch" : cfg.showFilter,
"sInfo":cfg.sInfo,
"sInfoEmpty" : cfg.showMsg,
"sInfoFiltered" : cfg.filterfrom,
"sFilterTxt":cfg.filterText
},
"bPaginate" : cfg.paginate,
"bFilter" : cfg.filter,
"bInfo" : cfg.info,
"bLengthChange" : cfg.lnchg,
"iDisplayLength" : iDisplayLength,
"aoColumns" : [null,null,null,null,null,null,null,null,null],
aaSorting : [ [ sorting, sortPosition ] ],
});
}

Any input?

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    PLease link to a test case showing the issue, as noted in the forum rules.

    Allan
  • pramodkuberpramodkuber Posts: 2Questions: 0Answers: 0
    Sorry Allan.

    My server has no access out of our network. If required I can delete this post to maintain forum decorum.
  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    Are you able to run the debugger over your table: http://debug.datatables.net ? I'm not sure it will give me the information needed to resolve the issue, but it might...

    Allan
This discussion has been closed.