1. #1
    Ext JS Premium Member oaugustus's Avatar
    Join Date
    May 2007
    Location
    Belo Horizonte, Brazil
    Posts
    66
    Vote Rating
    2
    oaugustus is on a distinguished road

      0  

    Default [SUGGESTION] Custom property allow a function type

    [SUGGESTION] Custom property allow a function type


    Hi Sencha Architect development team,


    Yesterday, I needed a custom 'renderer' in a Grid Column into Architect, but this property hasn't present into Property Inspector. Then I realized if Sencha Architect support a "function type" in custom properties like (object, array, string) at Property Inspector, this problem would be resolved.
    Otávio Augusto Rodrigues Fernandes
    Net On - Soluções Tecnológicas Ltda
    Desenvolvimento e Consultoria em ExtJS
    www.neton.com.br
    otavio@neton.com.br
    (31) 3075-7868

  2. #2
    Ext JS Premium Member tangix's Avatar
    Join Date
    Mar 2010
    Location
    Stockholm, Sweden
    Posts
    563
    Vote Rating
    51
    tangix is a jewel in the rough tangix is a jewel in the rough tangix is a jewel in the rough

      0  

    Default


    Yeah, having a function type would be nice but alas - this is not available.
    I suggest you use an override instead and add your renderer function there. Also possible, but less clean, is to add a processConfig() and define your function inline there.

  3. #3
    Sencha - Architect Dev Team Phil.Strong's Avatar
    Join Date
    Mar 2007
    Location
    Olney, MD
    Posts
    1,953
    Vote Rating
    65
    Phil.Strong is just really nice 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


    It didn't have a renderer function that you could add via the config pane?

    base column has this but boolean, number, date do not. afaik this is by design as they use these internally.

    http://cl.ly/image/3u3q423x1u3I
    Phil Strong
    @philstrong
    #SenchaArchitect
    Sencha Architect Development Team

  4. #4
    Ext JS Premium Member oaugustus's Avatar
    Join Date
    May 2007
    Location
    Belo Horizonte, Brazil
    Posts
    66
    Vote Rating
    2
    oaugustus is on a distinguished road

      0  

    Default


    Really Phil,

    I don't have seen that, just because I wanted this property i Thank you very much.

    Quote Originally Posted by Phil.Strong View Post
    It didn't have a renderer function that you could add via the config pane?

    base column has this but boolean, number, date do not. afaik this is by design as they use these internally.

    http://cl.ly/image/3u3q423x1u3I
    Otávio Augusto Rodrigues Fernandes
    Net On - Soluções Tecnológicas Ltda
    Desenvolvimento e Consultoria em ExtJS
    www.neton.com.br
    otavio@neton.com.br
    (31) 3075-7868

Thread Participants: 2