Results 1 to 3 of 3

Thread: How to find default data and tpl of a component

  1. #1
    Sencha User
    Join Date
    Feb 2012
    Posts
    33
    Answers
    2
    Vote Rating
    1
      0  

    Default How to find default data and tpl of a component

    Hey guys,

    I would like to extend the Ext.field.Checkbox with some additional data and a custom tpl. Before that I would like to have a look on the default values of these configs. Anyone has a clue where to find these Information?

    Thanks for reading,
    Eugen

    PS: I am working with Sencha Touch 2, but I wonder if that question actually should be asked in the EXT JS 4 forums?

  2. #2
    Sencha User
    Join Date
    Feb 2012
    Posts
    33
    Answers
    2
    Vote Rating
    1
      0  

    Default

    Well, that's a stupid question as both are Null by default. Now I wonder how I can alter the checkbox by extending it by another config parameter to pass in another parameter for an individual icon for my checkboxes.

  3. #3
    Sencha User castitas's Avatar
    Join Date
    Sep 2011
    Location
    US
    Posts
    116
    Answers
    3
    Vote Rating
    4
      0  

    Default

    I don't know if it returns the default parameters, but getInitialConfig() will return the values handed to the constructor.
    word

Posting Permissions

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