combo box popup only shows one row and no scrollbar
Weird problem. Using AW version 2.0.1 in my page. When popup is displayed from combobox, the popup only shows one row. No vertical scrollbar. My script's code is shown below:
var itemTextArrayPeriod = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"];
var cmbFiscalPeriod = new AW.UI.Combo;
cmbFiscalPeriod.setId("Period");
cmbFiscalPeriod.setControlText("Period");
cmbFiscalPeriod.setItemText(itemTextArrayPeriod);
cmbFiscalPeriod.setItemCount(12);
cmbFiscalPeriod.setPosition(474, 90);
cmbFiscalPeriod.setSize(100, 22);
temp = cmbFiscalPeriod.getPopupTemplate();
temp.setSize(100, 150);
cmbFiscalPeriod.setPopupTemplate(temp);
cmbFiscalPeriod.refresh();
Could anybody help, please!!!
var itemTextArrayPeriod = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"];
var cmbFiscalPeriod = new AW.UI.Combo;
cmbFiscalPeriod.setId("Period");
cmbFiscalPeriod.setControlText("Period");
cmbFiscalPeriod.setItemText(itemTextArrayPeriod);
cmbFiscalPeriod.setItemCount(12);
cmbFiscalPeriod.setPosition(474, 90);
cmbFiscalPeriod.setSize(100, 22);
temp = cmbFiscalPeriod.getPopupTemplate();
temp.setSize(100, 150);
cmbFiscalPeriod.setPopupTemplate(temp);
cmbFiscalPeriod.refresh();
Could anybody help, please!!!
Ken
August 22,