-
26 Dec 2012 3:40 AM #1
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
-
28 Dec 2012 8:50 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,624
- Vote Rating
- 434
- Answers
- 3105
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
________________
http://www.JSONPLint.com - Source to lint your JSONP!
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 almost in print!
When posting code, please use BBCode's CODE tags.
-
29 Dec 2012 3:28 AM #3
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



Reply With Quote