作成日: 2018/07/18 最終更新日: 2018/07/25
文書種別
不具合
発生環境
Chrome
状況
修正済み
詳細
KeyActionEnterプロパティをCycle/CycleOut/MoveAcrossに設定した場合、Enterキーを押下しても次の列に移動しない場合があります。
本現象はChrome上でのみ発生します。
本現象はChrome上でのみ発生します。
回避方法
この問題は2018J v2(4.0.20182.160)で修正されました。
※修正版を適用しない場合の回避方法は以下の通りです。
MultiRowを配置したビューに下記のスクリプトを実装することで回避できます。
<script>
var needSetFocus = false;
var updateContentfunc = wijmo.grid.FlexGrid.prototype._updateContent;
wijmo.grid.FlexGrid.prototype._updateContent = function (recycle, state) {
needSetFocus = false;
updateContentfunc.call(this, recycle, state);
if (needSetFocus == true) {
var self = this;
setTimeout(function () {
needSetFocus = false;
self._setFocus(false);
})
}
}
var setFocusFunc = wijmo.grid.FlexGrid.prototype._setFocus;
wijmo.grid.FlexGrid.prototype._setFocus = function (force) {
setFocusFunc.call(this, force);
needSetFocus = true;
}
</script>
※修正版を適用しない場合の回避方法は以下の通りです。
MultiRowを配置したビューに下記のスクリプトを実装することで回避できます。
<script>
var needSetFocus = false;
var updateContentfunc = wijmo.grid.FlexGrid.prototype._updateContent;
wijmo.grid.FlexGrid.prototype._updateContent = function (recycle, state) {
needSetFocus = false;
updateContentfunc.call(this, recycle, state);
if (needSetFocus == true) {
var self = this;
setTimeout(function () {
needSetFocus = false;
self._setFocus(false);
})
}
}
var setFocusFunc = wijmo.grid.FlexGrid.prototype._setFocus;
wijmo.grid.FlexGrid.prototype._setFocus = function (force) {
setFocusFunc.call(this, force);
needSetFocus = true;
}
</script>
旧文書番号
83055