作成日: 2018/06/22 最終更新日: 2018/07/25
文書種別
不具合
発生環境
Chrome
状況
修正済み
詳細
固定列が存在し、且つ縦スクロールが可能なグリッドにおいて、下矢印キーによってカレントセルを下方向に移動した場合、グリッドのスクロールが開始された直後にセル移動が止まってしまいます。
本現象はをChrome上で発生します。
本現象はをChrome上で発生します。
回避方法
この問題は2018J v2(4.0.20182.160)で修正されました。
※修正版を適用しない場合の回避方法は以下の通りです。
FlexGridを配置したビューに下記のスクリプトを実装することで回避できます。
<script>
c1.documentReady(function () {
var func = wijmo.grid.FlexGrid.prototype._setFocus;
wijmo.grid.FlexGrid.prototype._setFocus = function (force) {
func.call(this, force);
if (!wijmo.isIE()) {
var acell = this._activeCell;
if (acell && (!acell.tabIndex || acell.tabIndex == -1)) {
acell.tabIndex = this._tabIndex;
acell.focus();
}
}
}
})
</script>
※修正版を適用しない場合の回避方法は以下の通りです。
FlexGridを配置したビューに下記のスクリプトを実装することで回避できます。
<script>
c1.documentReady(function () {
var func = wijmo.grid.FlexGrid.prototype._setFocus;
wijmo.grid.FlexGrid.prototype._setFocus = function (force) {
func.call(this, force);
if (!wijmo.isIE()) {
var acell = this._activeCell;
if (acell && (!acell.tabIndex || acell.tabIndex == -1)) {
acell.tabIndex = this._tabIndex;
acell.focus();
}
}
}
})
</script>
旧文書番号
82961