Radio - Hiding and showing individual options in Touch

How can I hide and show options of Radio in DHTMLX Touch using code ? $$(‘radio’).hide() results in hiding all options.

Hello,

There is possibility hide individual options. You can create several radio buttons - “batches”. And hide/show these buttons when it is needed. Here is the example for batches:

dhtmlxTouch_v12_120913/samples/03_toolbar/04_button_sets.html

Hello,
Thanks for your reply, but I am looking for changing the options of radio set , not that of the toolbar. If my radio set has five options a,b,c,d,e I want to show sometimes only a,b or a,b,c or a,b,c,d etc. depending upon what is available to a user.
Thanks.

Hello,

radio button does not provide ability to hide certain options. You can try to use one of the following approaches:

  1. using batches as I wrote in the previous reply
  2. check user and then define correct options set for radio button and not vice versa
  3. create custom control
  4. use “list” view with selection enabled instead of radio (list allows to hide/show items by filtering).