[CLOSED] TreePanel scrollbar jumps all over the place when drag and drop enabled

  1. #1

    [CLOSED] TreePanel scrollbar jumps all over the place when drag and drop enabled

    Expand Root node. Scroll down a little. Select a node in the middle or near the end of the container. Scrollbar jumps. If you select another node now, it's fine. But if you scroll some more, expand a few more nodes, and select something, it jumps all over the place. This is reproducible in IE9 and Chrome, although the jump is not as dramatic in Chrome.

    This is a major issue for our users because we use treepanels with drag and drop in many places and users can double click on a node to perform some action. Right now, this causes the user to double click on the WRONG node because the scrollbar jumps on first click so 2nd click lands on another node. So they are trying to run some report or do some calculation but they end up doing something completely different and causing much frustration.


    <script runat="server">
        
        Protected Sub storeTree_OnReadData(sender As Object, e As Ext.Net.NodeLoadEventArgs)
            For i As Integer = 0 To 49
                e.Nodes.Add(New Ext.Net.Node() With {.Text = "Node " + i.ToString})
            Next
        End Sub
             
       
         
    </script>
    <!DOCTYPE html>
    <html>
    <head>
    </head>
    <body>
        <form id="Form1" runat="server">
        <ext:ResourceManager ID="ResourceManager1" runat="server" ScriptMode="Debug" Theme="Gray"
            DisableViewState="true" />
        <ext:TreePanel runat="server" ID="treeStrataAjax" Height="500" Width="500" UseArrows="true"
            AutoScroll="true">
            <Store>
                <ext:TreeStore ID="storeTree" runat="server" OnReadData="storeTree_OnReadData">
                    <Proxy>
                        <ext:PageProxy>
                        </ext:PageProxy>
                    </Proxy>
                </ext:TreeStore>
            </Store>
            <Root>
                <ext:Node Text="Root">
                </ext:Node>
            </Root>
            <Listeners>
                <BeforeLoad Handler="Ext.suspendLayouts();">
                </BeforeLoad>
                <Load Handler="Ext.resumeLayouts();">
                </Load>
            </Listeners>
            <ViewConfig>
                <Plugins>
                    <ext:TreeViewDragDrop ID="TreeViewDragDrop1" runat="server" EnableDrag="true" EnableDrop="false"
                        Enabled="true">
                    </ext:TreeViewDragDrop>
                </Plugins>
                <Listeners>
                </Listeners>
            </ViewConfig>
        </ext:TreePanel>
        </form>
    </body>
    </html>
    Last edited by Daniil; Apr 03, 2013 at 5:59 AM. Reason: [CLOSED]
  2. #2
    Hello!

    Thank you! Can you say version of Ext.NET?

    We are investigating.
  3. #3
    Ext.net - 2.2
    ExtJS - 4.2.0.663
  4. #4
    Can you test with the following example: http://docs.sencha.com/ext-js/4-2/#!...23tree-reorder

    Is it reproducible with this example?
  5. #5
    Quote Originally Posted by Baidaly View Post
    Can you test with the following example: http://docs.sencha.com/ext-js/4-2/#!...23tree-reorder

    Is it reproducible with this example?
    Yes I can with IE9. Your link doesn't work but I was able to reproduce with this:

    http://docs.sencha.com/ext-js/4-2/ex.../#tree-reorder
  6. #6
    I think it is a duplicate of this report.
    http://forums.ext.net/showthread.php?23976

    There is a report to Sencha. Unfortunately, it is not fixed yet.

    I am closing this thread. Please continue another one if needed.

Similar Threads

  1. Replies: 24
    Last Post: Apr 26, 2016, 10:43 PM
  2. Drag Drop events in TreePanel
    By web4u in forum 2.x Help
    Replies: 0
    Last Post: Aug 08, 2012, 6:31 AM
  3. TreePanel - Drag & Drop
    By jigpatel06 in forum 1.x Help
    Replies: 0
    Last Post: Oct 19, 2010, 10:31 AM
  4. selection problem if drag drop is enabled
    By [WP]joju in forum 1.x Help
    Replies: 0
    Last Post: Feb 19, 2010, 12:38 AM

Posting Permissions