Results 1 to 3 of 3

Thread: Ext.tree.Column no longer has a render method in 4.1.1a

  1. #1
    Sencha User
    Join Date
    Dec 2008
    Posts
    19
    Answers
    2
    Vote Rating
    0
      0  

    Default Unanswered: Ext.tree.Column no longer has a render method in 4.1.1a

    Hi,

    Upgrading from 4.1.0 to 4.1.1a, we noticed that the Ext.tree.Column no longer has a renderer method. In fact, it was renamed as 'treeRenderer' instead.

    We used to extend this class and its renderer method, but it no longer works when using 4.1.1a. We want to support both versions. Does anyone know why this backward incompatible change was made ? Or, if there's a clean solution we could implement to solve our issue ?

    Thanks,

    Alexandre

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,339
    Answers
    3887
    Vote Rating
    1297
      0  

    Default

    The renderer is still executed. In initComponent it is moved to the origRenderer property and then fired within the treeRenderer.

    Also, Ext.tree.Column is marked as private.
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it!

    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha User
    Join Date
    Dec 2008
    Posts
    19
    Answers
    2
    Vote Rating
    0
      0  

    Default

    Thanks for the reply.

    You're right. We'll try extending the renderer method then. We hadn't noticed that this class is private, so we'll try to deal with it.

    Quote Originally Posted by mitchellsimoens View Post
    The renderer is still executed. In initComponent it is moved to the origRenderer property and then fired within the treeRenderer.

    Also, Ext.tree.Column is marked as private.

Posting Permissions

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