1. #1
    Sencha User
    Join Date
    Mar 2012
    Posts
    7
    Vote Rating
    0
    senthil41189 is on a distinguished road

      0  

    Default Unanswered: Tree Scroll bar is Reseting with Drag and Drop plugin

    Unanswered: Tree Scroll bar is Reseting with Drag and Drop plugin


    Hi,
    I have a tree with scrollbar and Drag and Drop plugin. When i try to click any of the nodes after scrolling to the bottom, the scroll bar resets back to the top and does not allow me to click the nodes. But without the Drag and Drop Plugin, the tree is working fine and i am able to click the nodes at the bottom by scrolling down.

    Code:
           Ext.create('Ext.tree.Panel', {
            hideHeaders: true,
            rootVisible: true,
            scroll: false,
            border:false,
            //collapsible: false,
            animate:false,
            //enableDD:   true,
            tbar: toolBar,
            id:'exttree1',
            autoHeight:true,
            viewConfig: {
               style   : { overflow: 'auto', overflowX: 'hidden' },
               forceFit:true,
               plugins: [{
                   ptype: 'treeviewdragdrop'
               }]
           },
            plugins :  Ext.create('Ext.ux.FitToParent', {}),
            autowidth:true,
            root: {
                iconCls:'testerRootIcon',
                nodeType: 'async',
                text: 'Test Deck',
                draggable: false,
                id: 'TESTERROOT',
                expanded: true,
                listeners: {
                    itemclick : function(){
                            parent.parent.frames["mainFrame"].location.href="testerrightpane.exc?topid=0&pid=0&hid=0&lname=nil&lseq=1&pagecount=1&sessionValue=true&pageName=hierarchy&refresh=true&startend=true&setValue=true";
                        }
                }
                },
                
            renderTo: 'tree-example',
            store: Ext.create('Ext.data.TreeStore', {
               proxy: {
                   type: 'ajax',
                   url: 'getExtTree.do?id=234'
               },
               reader: {
                   type: 'json'
                  }
    
           }),
            collapsible: false,tree.jpg

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,754
    Answers
    3462
    Vote Rating
    828
    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


    Sounds like the view is refreshing. What Ext JS 4.x.x version are you using and browser?
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    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
    Mar 2012
    Posts
    7
    Vote Rating
    0
    senthil41189 is on a distinguished road

      0  

    Default


    Hi mitchellsimoens,
    I am using the 4.1 version of Ext Js and i tried this in IE9 as well as 8...
    As u said i think my view is getting refreshed. Pls tell me where i am going wrong.

    Thanks,
    SenthilKumar

Thread Participants: 1

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi