Hybrid View

  1. #1
    Sencha Premium Member
    Join Date
    Jul 2007
    Location
    Sydney, Australia
    Posts
    203
    Answers
    3
    Vote Rating
    19
    seade will become famous soon enough

      0  

    Default Unanswered: User extension definition config type boolean

    Unanswered: User extension definition config type boolean


    I have a config that is type: 'boolean', but I want to be able to specify some JS to return the value; instead of SA3 rendering a checkbox for the true/false value I want to be able to set it to Ext.isSafari. Is there something like type: 'code' that can be used to achieve this?

    Thanks,

    Scott

  2. #2
    Sencha - Architect Dev Team Phil.Strong's Avatar
    Join Date
    Mar 2007
    Location
    Olney, MD
    Posts
    1,919
    Answers
    14
    Vote Rating
    63
    Phil.Strong is just really nice Phil.Strong is just really nice Phil.Strong is just really nice Phil.Strong is just really nice

      0  

    Default


    This is something you would do at runtime which means it should be either process config (extjs) or in the init fn (touch) or in backing js. Note that with an extension you can have your custom component extend a class included as js. This means you can do this work in that js file.
    Phil Strong
    @philstrong
    #SenchaArchitect
    Sencha Architect Development Team

Thread Participants: 1

Tags for this Thread