2017-05-23 9 views
0

タイトルは、プロパティを設定したときにそれを表示します。showRowNumbers = falseこれらのエラーは数千回発生します。私はそれをコメントアウトしてもエラーは発生しませんが、行番号とチェックボックスが表示されます(これを無効にしようとしています)。 HTMLで例えばChromeのFin-hypergrid.jsでshowRowNumbers = falseを設定するとエラーが発生する

JavaScriptで次に

<script src="https://openfin.github.io/fin-hypergrid/build/fin-hypergrid.js"></script> <div id="fin-grid"></div>

var hg = new fin.Hypergrid('#fin-grid', 
{ 
    data: [ { foo : 0.0 , bar : 0.0 , bat : 0.0 } ], 
}); 
// Uncommenting this causes thousands of errors 
//hg.properties.showRowNumbers = false; 

はここで完全なエラー/スタックトレースです:

TypeError: Cannot read property 'visibleColumn' of undefined 
    at Constructor.<anonymous> (https://openfin.github.io/fin-hypergrid/build/fin-hypergrid.js:21121:23) 
    at Array.forEach (native) 
    at Array.value (https://openfin.github.io/fin-hypergrid/build/fin-hypergrid.js:21510:48) 
    at Constructor.paintCellsByColumnsAndRows (https://openfin.github.io/fin-hypergrid/build/fin-hypergrid. js:21118:25) 
    at Constructor.renderGrid (https://openfin.github.io/fin-hypergrid/build/fin-hypergrid.js:22206:38) 
    at Constructor.paint (https://openfin.github.io/fin-hypergrid/build/fin-hypergrid.js:21927:18) 
    at Canvas.paintNow (https://openfin.github.io/fin-hypergrid/build/fin-hypergrid.js:16190:28) 
    at Canvas.tickPaint (https://openfin.github.io/fin-hypergrid/build/fin-hypergrid.js:16076:18) 
    at Canvas.tickPainter (https://openfin.github.io/fin-hypergrid/build/fin-hypergrid.js:16094:18) 
    at https://openfin.github.io/fin-hypergrid/build/fin-hypergrid.js:16552:27 

任意のポインタは感謝、感謝。

答えて

1

ここにHypergridのメンテナーの一人!ギフト券でこのチケットを管理しています:https://github.com/openfin/fin-hypergrid/issues/594。私たちはこのようなことを調べて、あなたとこのスレッドを更新しています。ヘッドアップをありがとう!

関連する問題