1. #1
    Sencha User cyberwombat's Avatar
    Join Date
    Oct 2011
    Posts
    237
    Vote Rating
    2
    Answers
    6
    cyberwombat is on a distinguished road

      0  

    Default Answered: How to change a custom button value

    Answered: How to change a custom button value


    In my buttons I set the view I want them to go to:

    Code:
    xtype: 'button',
    ui: 'list',
    view: 'Terms'
    How do I change the view using the button api?

    I can do setIconCls, setText etc.. but I need a setView or set('view', 'Terms') method

  2. Duh.... b.view = 'Terms'. I was looking for a setter and totally dismissed setting the property directly. Lol.

  3. #2
    Sencha User cyberwombat's Avatar
    Join Date
    Oct 2011
    Posts
    237
    Vote Rating
    2
    Answers
    6
    cyberwombat is on a distinguished road

      0  

    Default


    Duh.... b.view = 'Terms'. I was looking for a setter and totally dismissed setting the property directly. Lol.