首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >handsontable可以加载多少行?

handsontable可以加载多少行?
EN

Stack Overflow用户
提问于 2014-10-16 03:27:22
回答 1查看 990关注 0票数 0
代码语言:javascript
复制
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行?

EN

回答 1

Stack Overflow用户

发布于 2014-10-29 21:42:38

我刚刚在handsontable中测试了一个有100,000行的jsFiddle,它工作得很好。

在显示大量行时需要非常小心,因为浏览器很可能会运行得非常慢。

我建议采纳错误消息建议,并定义表格的高度,这将强制使用滚动条。

这样,handsontable将只呈现表格的可见部分,而不是完整的行数。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/26390526

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档