got style error when destroy existed datatable instance
got style error when destroy existed datatable instance
ericxu
Posts: 1Questions: 1Answers: 0
I debugged it, and found the length was not identical:
visibleColumns.length
8
headerCells.length
7
the relative code snippets are follows:
for ( i=0 ; i<visibleColumns.length ; i++ ) {
column = columns[ visibleColumns[i] ];
headerCells[i].style.width = column.sWidthOrig !== null && column.sWidthOrig !== '' ?
_fnStringToCss( column.sWidthOrig ) :
'';
}
This discussion has been closed.