Combo on grid cant be closed for AW 2.5.3
Once combo is selected it cant be closed on FF 3.0.1 and Chome 0.2. On IE 6 works fine.
This example use to be working with AW 2.0.2 for FF 2/3 and IE 6
How can I solve this issue?
Thanks & Regards
This example use to be working with AW 2.0.2 for FF 2/3 and IE 6
<html>
<head>
<script src="runtime/lib/aw.js"></script>
<link href="runtime/styles/xp/aw.css" rel="stylesheet"></link>
</head>
<body>
<script>
var HeaderText = ["Number","Description"];
var CellText = [
["1","Description 1"],
["2","Description 2"],
["3","Description 3"],
["4","Description 4"],
["5","Description 5"]
];
var obj = new AW.UI.Grid;
obj.setHeaderText(HeaderText);
obj.setCellText(CellText);
obj.setColumnCount(2);
obj.setRowCount(5);
// BEGIN COMBO POPUP CODE
rowCombo = new AW.Templates.Combo;
obj.setCellTemplate(rowCombo, 1);
obj.setPopupTemplate(function(col, row){
var grid = this;
var list = new AW.UI.List;
list.setItemText(["text1", "text2", "text3"]);
list.setItemCount(3);
list.onItemClicked = function(event, i){
var text = this.getItemText(i);
grid.setCellText(text, col, row);
grid.setCellValue(text, col, row);
grid.getCellTemplate(col, row).hidePopup();
}
return list;
});
// END COMBO POPUP CODE
document.write(obj);
</script>
</body>
</html>
How can I solve this issue?
Thanks & Regards
Carlos
October 29,