Results 1 to 4 of 4

Thread: Extending existing tpl of tree column to add new attributes

  1. #1
    Sencha User alusung's Avatar
    Join Date
    Dec 2012
    Location
    Philippines
    Posts
    17
    Vote Rating
    0
      0  

    Default Extending existing tpl of tree column to add new attributes

    Good Day! I am currently using an Ext.tree.Column.
    What I did was to extend the current component and named it TreeListCustomColumn.js
    I avoided using the tpl attribute because of losing other styling and features of the tree list column.
    That is why I've preferred to use the extension of the component.
    Override the treeRenderer. Is this fine? Will this cause future problems when I perform ExtJs Upgrade?
    Attached Images Attached Images

  2. #2
    Sencha Premium Member
    Join Date
    Jul 2011
    Posts
    38
    Answers
    3
    Vote Rating
    0
      0  

    Default

    Hmm, seems like this . method is removed since 4.2.6 or at least 5, Ithink it is not fine to override the method... ;-)

  3. #3
    Sencha User alusung's Avatar
    Join Date
    Dec 2012
    Location
    Philippines
    Posts
    17
    Vote Rating
    0
      0  

    Default

    Quote Originally Posted by aicgroup-dev View Post
    Hmm, seems like this . method is removed since 4.2.6 or at least 5, Ithink it is not fine to override the method... ;-)
    Any suggestions for better way to solve the situation?

  4. #4
    Sencha Premium Member
    Join Date
    Jul 2011
    Posts
    38
    Answers
    3
    Vote Rating
    0
      0  

    Default

    Hmm, give me a short summary about your use case and perhaps the template you are going to render. Are you adding new model attributes at runtime to your model and reflect it in the ui or something like that?

Similar Threads

  1. Tree node attributes
    By JAD1951 in forum Ext:User Extensions and Plugins
    Replies: 0
    Last Post: 19 Oct 2011, 2:59 PM
  2. Extending Ext.tree.Column
    By ero in forum Ext: Q&A
    Replies: 2
    Last Post: 5 Sep 2011, 7:44 AM
  3. Tree node attributes
    By nar in forum Ext: Discussion
    Replies: 1
    Last Post: 20 Jun 2011, 11:55 AM
  4. LockingGrid with Custom Column Attributes
    By Bleak in forum Ext 3.x: Help & Discussion
    Replies: 0
    Last Post: 16 Apr 2011, 7:20 AM
  5. How to add tree node attributes ?
    By ryanapick in forum Ext 1.x: Help & Discussion
    Replies: 3
    Last Post: 27 Jun 2007, 11:47 AM

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
  •