3.2.0

select tag in Safari

Hello, I'm using AW 2.5.2 and I want to use dropdown not AW.UI.Combo in grid.
But Safari3.1.2 for Windows doesn't work dropdown.

I try to use grid under source.
----------------------------------------------------------------------
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>ActiveWidgets Examples</title>

<!-- fix box model in firefox/safari/opera -->
<style type="text/css">
.aw-quirks * {
box-sizing: border-box;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
}

body {font: 12px Tahoma}
</style>

<!-- include links to the script and stylesheet files -->
<script src="../../runtime/lib/aw.js" type="text/javascript"></script>
<link href="../../runtime/styles/system/aw.css" rel="stylesheet">

<!-- grid format -->
<style type="text/css">
#myGrid {height: 200px; width: 500px;}
#myGrid .aw-row-selector {text-align: center}

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

#myGrid .aw-grid-cell {border-right: 1px solid threedlightshadow;}
#myGrid .aw-grid-row {border-bottom: 1px solid threedlightshadow;}

/* box model fix for strict doctypes, safari */
.aw-strict #myGrid .aw-grid-cell {padding-right: 3px;}
.aw-strict #myGrid .aw-grid-row {padding-bottom: 3px;}

</style>

<!-- grid data -->
</head>
<body>
<script type="text/javascript">

// create ActiveWidgets Grid javascript object
var obj = new AW.UI.Grid;
obj.setId("myGrid");

// provide cells and headers text
obj.setCellText("<select><option>test1</option><option>test2</option><option>test3</option></select>");
obj.setHeaderText("test");

// set number of rows/columns
obj.setRowCount(1);
obj.setRowHeight(30);
obj.setColumnCount(1);

// enable row selectors
obj.setSelectorVisible(true);
obj.setSelectorText(function(i){return this.getRowPosition(i)+1});

// set headers width/height
obj.setSelectorWidth(28);
obj.setHeaderHeight(20);

// set row selection
obj.setSelectionMode("single-row");

// write grid html to the page
document.write(obj);

</script>
</body>
</html>
--------------------------------------------------------------------------------------

I need your help.

Thanks

Katsumata
September 7,
Fixed in AW 2.5.3 -

http://www.activewidgets.com/general.bugs/2-5-3.html
Alex (ActiveWidgets)
September 9,

This topic is archived.

See also:


Back to support forum