Results 1 to 5 of 5

Thread: Ext.list.Tree ignores cls of nodes

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha Premium Member
    Join Date
    May 2011
    Posts
    33

    Default Ext.list.Tree ignores cls of nodes

    The Ext.list.Tree component ingores the cls-Property of nodes for dom rendering.

    If I use the same store with Ext.tree.Panel the cls-Property is rendered in the dom.

  2. #2
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985

    Default

    Thanks for the report. Can you please post a test case which reproduces this issue?
    https://fiddle.sencha.com/#home

  3. #3

  4. #4
    Sencha User
    Join Date
    Mar 2012
    Location
    Chennai, India
    Posts
    92

    Default

    Any update on this bug? I am facing the same issue and I need to fix this ASAP. Anyone stumbled upon any hotfix? Please share.

  5. #5
    Sencha Premium Member
    Join Date
    May 2011
    Posts
    33

    Default

    I have fixed it by override the getItemConfig function. But I'm not sure if this was all. In the meantime we have dropped this component.

    Code:
    {
                    xtype: 'treelist',
                   (...),
                   getItemConfig: function(node, parent) {                    
                   return Ext.apply({
                            parentItem: parent.isRootListItem ? null : parent,
                            owner: this,
                            node: node,
                            indent: 10, 
                           cls: node.data.cls
                        }, this.getDefaults()); 
                   }}

Similar Threads

  1. [FIXED] Ext.List onItemDisclosure ignores scope
    By yoorek in forum Sencha Touch 2.x: Bugs
    Replies: 3
    Last Post: 21 Mar 2012, 2:30 PM
  2. Dragging tree nodes onto leaf nodes?
    By IGx89 in forum Ext 1.x: Help & Discussion
    Replies: 8
    Last Post: 1 Feb 2012, 7:22 AM
  3. Replies: 1
    Last Post: 30 Sep 2011, 12:56 PM
  4. Replies: 1
    Last Post: 12 Sep 2010, 8:30 AM
  5. Replies: 1
    Last Post: 27 Sep 2009, 6:15 PM

Posting Permissions

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