1. #1
    Sencha User
    Join Date
    Feb 2012
    Posts
    33
    Vote Rating
    1
    Answers
    2
    Eugen_Max is on a distinguished road

      0  

    Default Unanswered: How to find default data and tpl of a component

    Unanswered: 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
    Vote Rating
    1
    Answers
    2
    Eugen_Max is on a distinguished road

      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
    Vote Rating
    3
    Answers
    3
    castitas is on a distinguished road

      0  

    Default


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

Thread Participants: 1