:: Forum >>

How to disable an ActiveWidgets Combo Box

I am new to ActiveWidgets i have created an combo as,

var myDataDept=['a','b','c'];

var cboUsrDpt = new AW.UI.Combo;
cboUsrDpt.setAttribute("disabled", null);
cboUsrDpt.setItemCount(myDataDept==null ? 0 : myDataDept.length);

The default value of the combo box should be 'b'

The problem is i am three radio buttons in my JSP page when i click the first button the combo box allow the user to select the options in it and also editable , but when i click the remaining two buttons the combo box should not allow the user to select as well as not to editable.
Its urgent. Please reply to me. Thanks in Advance.
Tuesday, April 11, 2006
Unfortunately in the current version 'disabled' state is not supported (it will be added in the future).

Maybe you can add semi-transparent div on top of the combo as a workaround?
Alex (ActiveWidgets)
Tuesday, April 11, 2006

This topic is archived.

Back to support forum

Forum search