Chrome, Safari: Combo in Grid, PopUp Position
I am using AW v2.5.3 Grid, when rows scrolled and try to use Combo Box in Chrome and Safari 3.2 on XP, the popup does not comes under the Cell from where it is initiated. You have to scroll to popup which is a way beyond the grid. Code is pasted below:
Thanks in advance
var dataArr = new Array();
for (var i = 0; i < 100; i++) {
var rowArr = new Array();
for (var j = 0; j < 15; j++) {
if(j % 2 === 0)
rowArr.push("row" + i + "-col" + j);
else
rowArr.push(i * 109223.445);
}
dataArr.push(rowArr);
}
var obj = new AW.Grid.Extended;
obj.setId("myGrid");
obj.setRowCount(dataArr.length);
obj.setColumnCount(dataArr[0].length);
obj.setHeaderText(["Col01", "Col02", "Col03", "Col04", "Col05", "Col06", "Col07", "Col08", "Col09", "Col10", "Col11", "Col12", "Col13", "Col14", "Col15"]);
obj.setHeaderTooltip(function(index){ return this.getHeaderText(index); }); // Header Tooltip
obj.setHeaderCount(2);
obj.setCellData(dataArr);
obj.setCellTooltip(function(c,r){ return this.getCellText(c, r); }); // Cell Tool Tips
obj.setCellEditable(true);
var comboData = ["234.54", "23,423.4", "435,435.54", "345.45"];
var comboObj = new AW.Templates.Combo;
var comboList = new AW.UI.List;
comboList.setItemText(comboData);
comboList.setItemCount(comboData.length);
obj.setCellTemplate(comboObj, 3);
obj.setPopupTemplate(comboList, 3);
Thanks in advance
Mukesh Singla
November 21,