3.0 beta 2

combo template not closing in Firefox with drop down list

i remember having the problem with firefox that the drop down in grid does not close, and it has been fixed for v2. however i still encounter this problem with the combo set to not editable, since we don't want the use to type into the combo (only to select from the list). on IE it works fine. on firefox if you select from a list, the list closes. but if you don't select anything the list stays open no matter where else you click.

here is an example from grid.html

<title>ActiveWidgets Examples</title>
<script src="../../runtime/lib/aw.js"></script>
<link href="../../runtime/styles/system/aw.css" rel="stylesheet"></link>

#myGrid { width: 400px}

/* Alternate row colors */
#myGrid .aw-alternate-even {background: #fff;}
#myGrid .aw-alternate-odd {background: #eee;}

#myGrid .aw-alternate-even .aw-column-1 {background: #eee;}
#myGrid .aw-alternate-odd .aw-column-1 {background: #ddd;}


#myGrid .aw-column-0 {width: 50px; }
#myGrid .aw-column-1 {width: 150px; }
#myGrid .aw-column-2 {text-align: right}
#myGrid .aw-column-3 {text-align: right}
#myGrid .aw-column-4 {text-align: right}

/* Selected cells */
#myGrid .aw-grid-row .aw-cells-selected {background: #316ac5;}

#myGrid .aw-grid-headers {color: blue}
#myGrid .aw-grid-headers .aw-column-1 {font-weight: bold}

#myGrid .aw-header-1 {background: #def}



var myData = [
["MSFT","Microsoft Corporation", "314,571.156", "32,187.000", "Text1"],
["ORCL", "Oracle Corporation", "62,615.266", "9,519.000", "Text2"],
["SAP", "SAP AG (ADR)", "40,986.328", "8,296.420", "Text3"],
["CA", "Computer Associates Inter", "15,606.335", "3,164.000", ""],
["ERTS", "Electronic Arts Inc.", "14,490.895", "2,503.727", ""],
["SFTBF", "Softbank Corp. (ADR)", "14,485.840", ".000", "Text3"],
["VRTS", "Veritas Software Corp.", "14,444.272", "1,578.658", "Text1"],
["SYMC", "Symantec Corporation", "9,932.483", "1,482.029", "Text2"],
["INFY", "Infosys Technologies Ltd.", "9,763.851", "830.748", "Text4"],
["INTU", "Intuit Inc.", "9,702.477", "1,650.743", "Text5"],
["ADBE", "Adobe Systems Incorporate", "9,533.050", "1,230.817", "Text2"],
["PSFT", "PeopleSoft, Inc.", "8,246.467", "1,941.167", "Text3"],
["SEBL", "Siebel Systems, Inc.", "5,434.649", "1,417.952", "Text1"],
["BEAS", "BEA Systems, Inc.", "5,111.813", "965.694", "Text5"],
["SNPS", "Synopsys, Inc.", "4,482.535", "1,169.786", "Text4"],
["CHKP", "Check Point Software Tech", "4,396.853", "424.769", "Text2"],
["MERQ", "Mercury Interactive Corp.", "4,325.488", "444.063", "Text3"],
["DOX", "Amdocs Limited", "4,288.017", "1,427.088", "Text4"],
["CTXS", "Citrix Systems, Inc.", "3,946.485", "554.222", "Text5"],
["KNM", "Konami Corporation (ADR)", "3,710.784", ".000", "Text3"]

var myHeaders = ["Ticker", "Company Name", "Market Cap.", "$ Sales", "TextCombo"];

var obj = new AW.Grid.Extended;


var list = new AW.UI.List;

obj.setCellTemplate(new AW.Templates.Combo, 4);
obj.setPopupTemplate(list, 4);

obj.setCellEditable(false, 4); //// if i comment out this line it closes fine




i have been looking through the forum but having found any fix. is there any workaround? thanks
March 25,
This is a bug in AW 2.5.1. As you say, it only happens with non-editable combo cells. I don't have a fix yet - will try to make one ASAP.
Alex (ActiveWidgets)
March 25,

This topic is archived.

See also:

Back to support forum


Version 2

Looking for AW 2.6 ?
The old site is here.