:: Forum >>

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
Wednesday, January 7, 2009
Alex can you please help me out with your inputs on this
stella
Thursday, January 8, 2009
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)
Friday, January 9, 2009
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
Tuesday, January 13, 2009

This topic is archived.


Back to support forum

Forum search