[SSE] Change position for table total menu

This commit is contained in:
Julia Radzhabova 2022-03-18 14:47:11 +03:00
parent 6730c16cee
commit 5147704a86
2 changed files with 2 additions and 1 deletions

View file

@ -2407,7 +2407,7 @@ define([
var coord = me.api.asc_getActiveCellCoord(),
offset = {left:0,top:0},
showPoint = [coord.asc_getX() + offset.left, (coord.asc_getY() < 0 ? 0 : coord.asc_getY()) + coord.asc_getHeight() + offset.top];
showPoint = [coord.asc_getX() + offset.left + coord.asc_getWidth(), (coord.asc_getY() < 0 ? 0 : coord.asc_getY()) + coord.asc_getHeight() + offset.top];
menuContainer.css({left: showPoint[0], top : showPoint[1]});
me._preventClick = true;

View file

@ -1103,6 +1103,7 @@ define([
this.tableTotalMenu = new Common.UI.Menu({
maxHeight: 160,
menuAlign: 'tr-br',
cyclic: false,
cls: 'lang-menu',
items: [