3.0.0

can checkboxes in front(besides text) of the elements present in combo box

I need to have a combo box with 5 elements have checkboxes in front(besides text) such that things can be checked or not checked per each item in the combo.
Please help me out with the code and let me know if the widgets support this,

thanks,
stella
stella
January 7,
Alex can you please help me out with your inputs on this
stella
January 8,
Technically you can use checkbox or checkedItem templates with AW.UI.Combo control.

var items = ["item1", "item2", "item3"];

    var obj = new AW.UI.Combo;

    obj.setItemText(items);
    obj.setItemCount(3);

    obj.setItemTemplate(new AW.Templates.CheckedItem);
    obj.setController("selection", AW.UI.Controllers.Checked);

    document.write(obj);


However such control does not look good for me from the usability point of view - there is no explicit action to close the popup, so it may be quite confusing.
Alex (ActiveWidgets)
January 9,
How can i align the AW.templates.checkedItem..the drop down i want to sent the width to that object,how can i do that
stella
January 13,

This topic is archived.

See also:


Back to support forum

Search

Version 2

Looking for AW 2.6 ?
The old site is here.