You found a bug! We've classified it as EXTJS-8807 . We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1
    Sencha User Daniil's Avatar
    Join Date
    Jun 2010
    Location
    Saint-Petersburg, Russia
    Posts
    975
    Vote Rating
    110
    Daniil is a name known to all Daniil is a name known to all Daniil is a name known to all Daniil is a name known to all Daniil is a name known to all Daniil is a name known to all

      0  

    Default [4.2.0 RC] TreePanel useArrows switches off lines

    [4.2.0 RC] TreePanel useArrows switches off lines


    REQUIRED INFORMATION

    Ext version tested:
    • Ext 4.2.0 RC
    Browser versions tested against:
    • Chrome
    • IE9
    • FireFox
    DOCTYPE tested against:
    • <!DOCTYPE html>
    Description:
    • If set up "useArrows: true" for a TreePanel, when the lines (produced by the default "lines: true" settings) disappear.
    Steps to reproduce the problem:
    • Just run the sample
    The result that was expected:
    • The lines appear
    The result that occurs instead:
    • The lines don't appear
    Test Case:

    Code:
    <!DOCTYPE html>
    <html>
    <head>
        <title>TreePanel useArrows switches off lines</title>
    
        <link rel="stylesheet" href="../resources/css/ext-all.css" />
        
        <script src="../ext-all-debug.js"></script>
    
        <script>
            Ext.onReady(function () {
                Ext.create("Ext.tree.Panel", {
                    renderTo: Ext.getBody(),
                    width: 400,
                    height: 400,
                    rootVisible: false,
                    useArrows: true,
                    lines: true, // just to ensure it is true
                    root: 
                    {
                        expanded: true,
                        children: [
                        {
                            text: "Node1",
                            expanded: true,
                            children: [
                            {
                                text: "Node2",
                                leaf: true,
                            }, 
                            {
                                text: "Node3",
                                leaf: true,
                            }]
                        }]
                    }
                });
            });
        </script>
    </head>
    <body>
    
    </body>
    </html>
    Ext.NET - ASP.NET for Ext JS
    MVC and WebForms
    Examples | Twitter

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,347
    Vote Rating
    846
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Thanks for the report! I have opened a bug in our bug tracker.

  3. #3
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    17,004
    Vote Rating
    650
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

    Default


    This isn't a bug. Perhaps the docs could be more clear, but arrows and lines can't be used together.
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

  4. #4
    Sencha User Daniil's Avatar
    Join Date
    Jun 2010
    Location
    Saint-Petersburg, Russia
    Posts
    975
    Vote Rating
    110
    Daniil is a name known to all Daniil is a name known to all Daniil is a name known to all Daniil is a name known to all Daniil is a name known to all Daniil is a name known to all

      0  

    Default


    Thank you for the answers.

    Evan, it appears to be working here.
    http://docs.sencha.com/ext-js/4-1/#!...ink/index.html

    So, only Neptune?
    Ext.NET - ASP.NET for Ext JS
    MVC and WebForms
    Examples | Twitter

  5. #5
    Sencha Premium Member
    Join Date
    May 2012
    Posts
    63
    Vote Rating
    1
    stevanicus is on a distinguished road

      0  

    Default


    Yep, seems to work here

    http://dev.sencha.com/deploy/ext-4.1...tml#basic-tree

    However I can't get the lines to show either and I'm on version 4.1.1rc2