3.2.0

Bug in AW.Template.Popup ?

I have 1 grid.
- set cell template to Combo template - new AW.Templates.Combo
- set cell popup template to one instance of List - AW.UI.List already filled with data
- I want to use setPosition() to set the popup that is shown from the combobox in cell on top (above) of the cell not on bottom (not below).
The reason ? If grid is in bottom of the page and there is not enough space on bottom it should appear on top.

Tried:

this.getCellTemplate(column,row).getPopupTemplate().setPosition(0,-200);

I took a look at the AW.Templates.Popup code and for IE it uses window.createPopup();
the top parameter is set from cell offsetHeight and it cannot be changed.
setPosition makes the span position:absolute; sets left and top but I don't know if this is sufficient.

It seems that in IE the combo list will not show up since it positions the list inside the popup made with createPopup() which is indepedent of its content - the list with options.

The result is that when clicking on combo it will not display the list from the popup template because it is set outside the visible area.

Best Regards,
Bogdan
Bogdan
April 26,

This topic is archived.

See also:


Back to support forum