作成日: 2017/10/17 最終更新日: 2017/12/13
文書種別
不具合
状況
修正済み
詳細
CustomGridEditorsサンプルのCustomGridEditor.jsを用いてカスタムエディタを設定すると、固定列を編集時にカスタムエディタが表示されません。
回避方法
この問題はバージョン5.20173.380で修正されました。
修正版を適用しない場合の回避方法は次の通りです。
CustomGridEditor.jsの次のコードでzIndexを2に設定すると、問題を回避することができます。
// initialize editor host
var rcCell = grid.getCellBoundingRect(args.row, args.col), rcBody = document.body.getBoundingClientRect(), ptOffset = new wijmo.Point(-rcBody.left, -rcBody.top);
wijmo.setCss(this._ctl.hostElement, {
zIndex: 2, // 回避方法
position: 'absolute',
left: rcCell.left - 1 + ptOffset.x,
top: rcCell.top - 1 + ptOffset.y,
width: rcCell.width + 1,
height: grid.rows[args.row].renderHeight + 1,
borderRadius: '0px'
});
修正版を適用しない場合の回避方法は次の通りです。
CustomGridEditor.jsの次のコードでzIndexを2に設定すると、問題を回避することができます。
// initialize editor host
var rcCell = grid.getCellBoundingRect(args.row, args.col), rcBody = document.body.getBoundingClientRect(), ptOffset = new wijmo.Point(-rcBody.left, -rcBody.top);
wijmo.setCss(this._ctl.hostElement, {
zIndex: 2, // 回避方法
position: 'absolute',
left: rcCell.left - 1 + ptOffset.x,
top: rcCell.top - 1 + ptOffset.y,
width: rcCell.width + 1,
height: grid.rows[args.row].renderHeight + 1,
borderRadius: '0px'
});
旧文書番号
82397