_fnProcessingDisplay error occurs when bServerSide, bProcessing, sScrollY are enabled
_fnProcessingDisplay error occurs when bServerSide, bProcessing, sScrollY are enabled
s0r1n
Posts: 1Questions: 0Answers: 0
DataTables works fine using server-side processing (bServerSide: true) and 'processing' indicator (bProcessing: true).
The following error occurs after configuring sScrollY (sScrollY: "300 px"):
- in Firefox
TypeError: an is undefined
for ( var i=0, iLen=an.length ; i<iLen ; i++ )
- in Chrome
Uncaught TypeError: Cannot read property 'length' of undefined
_fnProcessingDisplay
_fnAjaxUpdate
_fnDraw
fnDraw
fnAdjustColumnSizing
(anonymous function)
fire
self.fireWith
jQuery.extend.ready
completed
The line code belongs to _fnProcessingDisplay function. As a consequence of it, the processing indicator will not be visible during pre-draw. If sScrollY is disabled, the error disapears and the processing indicator will show up.
This discussion has been closed.