作成日: 2024/12/19 最終更新日: 2025/08/06
文書種別
不具合
発生環境
5.20213.834以降のバージョンで発生
状況
修正済み
詳細
コントロールが破棄されるとき、selectionChangedイベントが発火します。
回避方法
この問題はバージョン5.20251.40で修正されました。
修正版を適用しない場合の回避方法は次の通りです。
_adjustSelectionメソッド(内部メソッド)を以下のように書き換えます。
import * as wjGrid from '@mescius/wijmo.grid';
let oldFun = (wjGrid as any)._SelectionHandler.prototype._adjustSelection;
(wjGrid as any)._SelectionHandler.prototype._adjustSelection = function (r: any, m:any, f: any) {
if(this._g.itemsSource){
oldFun.call(this, r, m, f);
}
}