3.0.0

Combo box not working in IE

Hi i have used below code but unable to select value from combo.
Any one please help in this regard.

var objCombo = new AW.UI.Combo;

objCombo.setId ('objCombo');

// arrays for Text and Values if using AJAX
// var comboValues = new Array ();
// var comboText = new Array ();
//
// Fill in arrays for dynamic use

// static definitions
var comboValues = [10, 20, 30];
var comboText = ['String 10', 'String 20', 'String 30'];

// initial text
objCombo.setControlText("default text");
// initial value of combo
var comboValue = 0;

// define original dropdown text strings
objCombo.setItemText(comboText);
objCombo.setItemCount(comboText.length);

// make the combo read-only so user can't fill in random text
objCombo.getContent('box/text').setAttribute('readonly', true);
obj.setCellTemplate(objCombo,0);

Please reply ASAP.
prashanth
June 17,
The AW.UI.Combo class is a standalone control. If you need a grid cell template - use AW.Templates.Combo.
Alex (ActiveWidgets)
June 18,

This topic is archived.

See also:


Back to support forum

Search

Version 2

Looking for AW 2.6 ?
The old site is here.