作成日: 2017/12/07 最終更新日: 2018/03/28
文書種別
不具合
状況
修正済み
詳細
グリッドの垂直スクロール後に列幅を変更するとスクロールアップします。
回避方法
この問題は2018v1で修正されました。
※修正版を適用しない場合の回避方法は以下の通りです。
以下のスクリプトを記述します。
<script type="text/javascript">
var original_refreshPanel = wijmo.grid.fixedView.prototype._refreshPanel;
wijmo.grid.fixedView.prototype._refreshPanel = function (scrollValue) {
var recreateSuperPanel = false;
if (!this._scroller.data("wijmo-wijsuperpanel")) {
recreateSuperPanel = true;
}
original_refreshPanel.call(this, scrollValue);
if (recreateSuperPanel && scrollValue && (scrollValue.x || scrollValue.y)) {
var sp = this._scroller.data("wijmo-wijsuperpanel");
sp._initScrollPosition();
}
}
</script>
※修正版を適用しない場合の回避方法は以下の通りです。
以下のスクリプトを記述します。
<script type="text/javascript">
var original_refreshPanel = wijmo.grid.fixedView.prototype._refreshPanel;
wijmo.grid.fixedView.prototype._refreshPanel = function (scrollValue) {
var recreateSuperPanel = false;
if (!this._scroller.data("wijmo-wijsuperpanel")) {
recreateSuperPanel = true;
}
original_refreshPanel.call(this, scrollValue);
if (recreateSuperPanel && scrollValue && (scrollValue.x || scrollValue.y)) {
var sp = this._scroller.data("wijmo-wijsuperpanel");
sp._initScrollPosition();
}
}
</script>
旧文書番号
82465