:: Forum >> Version 2 >>

Problem with AW.Grid.Extended in Safari browser

Hi,
We are using AW 2.5.3 grid.When we are opening the following code in Safari and Chrome browsers dropdown content is displaying outside of the grid.
Can anyone please help us as we got stuck with this problem.

<script>var numberMgrGrid = new AW.Grid.Extended;
numberMgrGrid.id = 'numberMgrGrid';
numberMgrGrid.setId('numberMgrGrid');
numberMgrGrid.setColumnCount(2);
numberMgrGrid.setRowCount(10);
numberMgrGrid.setStyle('width', '22%');
numberMgrGrid.setHeaderHeight(47);
numberMgrGrid.setStyle('height', '174px');
numberMgrGrid.setRowHeight(20);
numberMgrGrid.setFooterHeight(20);
numberMgrGrid.setColumnIndices([0,1]);
numberMgrGrid.setRowIndices([0,1,2,3,4,5,6,7,8,9]);
var assignDataMgrGridHeaders = ["","Numbers"];
numberMgrGrid.setHeaderText(assignDataMgrGridHeaders);
numberMgrGrid.setColumnWidth(28, 0);
numberMgrGrid.setHeaderTemplate(new AW.Templates.Checkbox, 1);
var cb1 = new AW.Templates.Checkbox;
numberMgrGrid.setCellTemplate(cb1, 1);
numberMgrGrid.setColumnWidth(140, 1);
numberMgrGrid.setCellTemplate(new AW.Templates.Combo, 1);
var assignDataMgrGridData = [["","One"],["","Two"],["","Three"],["","Four"],["","Five"],["","Six"],["","SEven"],["","Eight"],["","Nine"],["","Ten"]];
numberMgrGrid.setCellText(assignDataMgrGridData);
numberMgrGrid.setPopupTemplate(function(col, row){
var list = new AW.UI.List;
switch(col) {
case '1':
list.setItemText(['abc','one','bcd','abc','abc','abc','abc','abc','abc','abc','abc','abc','xyz','xyz','xyz','abc','ijk']);
list.setItemCount(17);
break;
}
return list;
});
var numberGridFooter = ['',''];
numberMgrGrid.setFooterText(numberGridFooter);
document.write(numberMgrGrid);
</script>
Dilip Kumar Pakalapati
Tuesday, September 13, 2011
Alex,
Do u have any workaround for this bug.
Dilip Kumar Pakalapati
Wednesday, September 21, 2011
Alex,
Please let me know whether it is a Bug in AW 2.5.3...................
Dilip Kumar Pakalapati
Thursday, September 22, 2011



This topic is archived.

Back to support forum

Forum search