2014-10-15 2 views
0
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 개 이상의 행을로드 할 때 클라이언트 브라우저 콘솔에서이 오류를 가지고, 현재 내가 이상로드 할 수있는 방법이 행얼마나 많은 행 핸들을로드 할 수 있습니까?

의이 양을로드 할 데이터 바인딩을 사용 손수레 1500 행?

답변

0

나는 handsontable에서 100,000 개의 행을 가진 jsFiddle을 테스트 한 결과 훌륭하게 작동합니다.

많은 수의 행을 표시 할 때 브라우저의 실행 속도가 매우 느릴 수 있으므로 매우주의해야합니다.

오류 메시지 조언을 취하고 스크롤바를 적용 할 표의 높이를 정의하는 것이 좋습니다.

이렇게하면 handontable은 전체 행 수가 아닌 테이블의 보이는 부분 만 렌더링합니다.

+0

내 로컬 시스템 및 로컬 호스트에서로드에 문제가 없지만 내 아마존 인스턴스에서로드 할 때 오류가 표시됩니다. –

관련 문제