Is there a way to assign the label of individual radio options using code (not during initialization) e.g.
$$(‘radio_option_1’).config.label=“ABC” ;
Thanks
Is there a way to assign the label of individual radio options using code (not during initialization) e.g.
$$(‘radio_option_1’).config.label=“ABC” ;
Thanks
Separate radio buttons in group do not have unique id.
You can acess collections of value|labels of all radio buttons in a group as
$$("radio_id").options //this is array of objects
you can change related value in the options collection and call refresh after that to apply the changes.
Can you please provide an example. I am trying this simple code to test and it is not working -
var optarray =new Array;
optarray= $$(“radio3R”).options;
dhx.notice(optarray.length);
Thanks.
Hello,
options is configuration property. For this reason, please the following
optarray= $$(“radio3R”).config.options;
dhx.notice(optarray.length);