1. #1
    Sencha Premium Member
    Join Date
    Jan 2008
    Location
    Atlanta, GA
    Posts
    93
    Vote Rating
    0
    kai5263499 is on a distinguished road

      0  

    Default Can't get a reference to all the checkboxes under a checkboxgroup

    Can't get a reference to all the checkboxes under a checkboxgroup


    First I add checkboxes like

    this.down('checkboxgroup').add(checkboxesArray);

    where this is a panel.

    Then I later attempt to get a reference to all the checkboxes so I can set them all to unchecked and remove any special CSS classes, but none of the following appears to work:

    this.down('checkboxgroup').down('checkbox'); // returns undefined
    this.down('checkboxgroup').items // do not appear to be valid form items I can call setValue on

    How can I access the checkboxes I've created or is my inability to get a reference to them with .down('checkbox') a bug?

  2. #2
    Sencha Premium Member
    Join Date
    Jan 2008
    Location
    Atlanta, GA
    Posts
    93
    Vote Rating
    0
    kai5263499 is on a distinguished road

      0  

    Default


    I found it, I was trying to use items as an array instead of a mixed collection..

Similar Threads

  1. Checkboxgroup and Checkboxes in TabPanels
    By squalo in forum Ext 3.x: Help & Discussion
    Replies: 1
    Last Post: 3 Mar 2011, 5:41 AM
  2. Ext 3.2 - Cant load checkboxes into checkboxgroup from URL
    By tigoes in forum Ext 3.x: Help & Discussion
    Replies: 1
    Last Post: 13 Feb 2011, 11:43 PM
  3. Dynamically created checkboxes do not appear in the checkboxgroup
    By paweluz in forum Ext 3.x: Help & Discussion
    Replies: 2
    Last Post: 25 Jun 2010, 1:48 AM
  4. Checkboxgroup hidden checkboxes
    By brk11 in forum Ext 3.x: Help & Discussion
    Replies: 0
    Last Post: 3 Mar 2010, 9:34 AM

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar