Page 1 of 1

Problem in handeling checkbox and scrollable list

Posted: Mon Sep 23, 2013 6:47 pm
by supriya hirurkar
  • On a button click, I want to uncheck all the checkboxes which I have checked and I am using something like
    Appery("mobilecheckboxgroup_48").checkboxradio()
    Appery("mobilecheckboxgroup_48").prop('checked',false).checkboxradio("refresh")
    and I end up getting 'Uncaught TypeError: Cannot call method 'removeClass' of undefined' in the source file.
    • also, I am using 'overflow-y: scroll' for a list, but It is not working for me.
      Your help is appreciated.

Problem in handeling checkbox and scrollable list

Posted: Mon Sep 23, 2013 8:25 pm
by Kateryna Grynko

Hi Supriya,

1) Try the following:
codeAppery("mobilecheckboxgroup_48").find('input[type="checkbox"]').prop('checked',false).checkboxradio("refresh");/code
Appery() returns you a div containing checkboxes, but not the components themselves.

2) Wrap checkboxgroup in HTML Panel Component for which describe a special class. The container checkboxgroup is complicated in its structure, you can explore it in DOM-inspector.


Problem in handeling checkbox and scrollable list

Posted: Mon Sep 23, 2013 8:33 pm
by supriya hirurkar

Awesome Katya! Thanks.