Button inside ButtonGroup

  1. #1

    Button inside ButtonGroup


    We have some Buttons inside a ButtomGroup and we need to enable or disable them at client side. But when we look which kind element they are, we find "Ext.dom.Element" instead of Button type as expected. So in this way, we can't call button methods.

    How must we enable/disable this kind of element?

  2. #2

    Does the Button have an .ID? if yes, then you can just use the client-side id (.ClientID) of the Button.


    Hope this helps
    Geoffrey McGill
  3. #3

    As we could see, if we use directly:

    We get the dom element itself. In the same way, if we use:

    Then, we get an "Ext.dom.Element", with a dom property.

    But if we use App as you suggested, then we get an "Ext.button.Button" as expected. So we can do what we really want:



Similar Threads

  1. Replies: 8
    Last Post: Sep 28, 2012, 3:42 PM
  2. [CLOSED] Button inside compositefield
    By SouthDeveloper in forum 1.x Legacy Premium Help
    Replies: 5
    Last Post: May 04, 2011, 9:19 PM
  3. Replies: 2
    Last Post: Mar 03, 2011, 2:44 PM
  4. [CLOSED] ButtonGroup Bug
    By Timothy in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Dec 13, 2009, 3:42 AM
  5. How to put a button inside of a Form's body
    By marcossoft in forum 1.x Help
    Replies: 3
    Last Post: Feb 04, 2009, 8:34 AM

Posting Permissions