Results 1 to 2 of 2

Thread: User extension definition config type boolean

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Sencha Premium Member
    Join Date
    Jul 2007
    Location
    Sydney, Australia
    Posts
    261
    Answers
    3
    Vote Rating
    197
      0  

    Default 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 User Phil.Strong's Avatar
    Join Date
    Mar 2007
    Location
    Olney, MD
    Posts
    1,953
    Answers
    15
    Vote Rating
    65
      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

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •