Scroller's displayBuffer must be an odd number. Fatal errors otherwise.
Scroller's displayBuffer must be an odd number. Fatal errors otherwise.
jan_goyvaerts
Posts: 31Questions: 0Answers: 0
If displayBufer is not set to an odd number, then the statement at line 569 will yield a real number instead of an integer number.
[code]var preRows = ((this.s.displayBuffer-1)/2) * this.s.viewportRows;[/code]
Which in turn causes various index variables to become real numbers too. Which finally ends in loads of errors:
[quote]Uncaught TypeError: Cannot read property 'nTr' of undefined”[/quote]
The very first batch of rows is shown correctly. The errors are triggered when scrolling through the table.
[code]var preRows = ((this.s.displayBuffer-1)/2) * this.s.viewportRows;[/code]
Which in turn causes various index variables to become real numbers too. Which finally ends in loads of errors:
[quote]Uncaught TypeError: Cannot read property 'nTr' of undefined”[/quote]
The very first batch of rows is shown correctly. The errors are triggered when scrolling through the table.
This discussion has been closed.
Replies
Allan