Exception in queued task: Error: Security brake: Too much TRs. Please define height for your table, which will enforce scrollbars.
at WalkontableTable._doDraw (client/libs/handsontable-0.10.5/jquery.handsontable.full.js?37b46fd989b9a974c3501865b51effd7adec37e4:12859:15)
at WalkontableTable.draw (client/libs/handsontable-0.10.5/jquery.handsontable.full.js?37b46fd989b9a974c3501865b51effd7adec37e4:12760:10)
at Walkontable.draw (client/libs/handsontable-0.10.5/jquery.handsontable.full.js?37b46fd989b9a974c3501865b51effd7adec37e4:10435:16)
at Handsontable.TableView.render (client/libs/handsontable-0.10.5/jquery.handsontable.full.js?37b46fd989b9a974c3501865b51effd7adec37e4:2781:11)
at Object.selection.selection.refreshBorders (client/libs/handsontable-0.10.5/jquery.handsontable.full.js?37b46fd989b9a974c3501865b51effd7adec37e4:646:21)
at render (client/libs/handsontable-0.10.5/jquery.handsontable.full.js?37b46fd989b9a974c3501865b51effd7adec37e4:1398:17)
at $.fn.handsontable (client/libs/handsontable-0.10.5/jquery.handsontable.full.js?37b46fd989b9a974c3501865b51effd7adec37e4:2382:35)
当我在handsontable-10.0.5中加载超过1500行时,我在客户端浏览器控制台出现此错误,目前我使用数据绑定来加载这些行
有没有办法在handsontable中加载超过1500行?
答案 0 :(得分:0)
我刚用handontable测试了一个拥有100,000行的jsFiddle,效果很好。
显示大量行时需要非常小心,因为浏览器很可能运行得很慢。
我建议您提供错误消息建议,并为您的表定义高度,这将强制执行滚动条。
这样,handsontable只会呈现表格的可见部分,而不会呈现完整的行数。