-
23 Apr 2012 2:30 PM #21
Buffered tree and tree grid is definitely required. No reason to have it for data grid only.
Some great work been done here. Looking forward to an official sencha component in the near future.
Anyone have any idea when we can expect to something official?
-
25 Sep 2012 1:30 AM #22
Hi guys,
I tested the lockable tree with the 4.1.1 and it didn't work unfortunately.
One issue was easily fixed:
Updating the spacer was not possible due to the normalview was not rendered when first running into the method.Code:updateSpacer: function () { var lockedView = this.lockedGrid.getView(), normalView = this.normalGrid.getView(); if (lockedView.rendered && lockedView.el.child('table') && normalView.rendered) {
When I update the sample to use buffers with 4.1.1 I get the following message (Firefox):
TypeError: me.dom is undefined
me.dom.style.height = me.addUnits(height);
Anyone a hint where to start searching? It happens somewhere in the rendering process.
When running when having buffered: false, using lazyload in the tree leads to have all columns being resized everytime the tree rerenders due to new data. All columns will become smaller and smaller.
Any hint highly appreciated,
Hiro
Edit: When changing the extjs file to ignore the issue, the rendering finishes but I don't see any data. :-(
-
26 Sep 2012 10:02 PM #23
Last time I checked, the spacer fix wasn't needed in 4.1.1.
I've got these for an override class:
Code:patchLockedSpacer: function() { var me = this, lockedView = me.lockedGrid.getView(); lockedView.on({ refresh : me.updateSpacer, scope : me }); }, // Can be remove using ExtJS 4.1.0 RELEASE or greater updateSpacer: function() { var me = this, lockedView = me.lockedGrid.getView(), normalView = me.normalGrid.getView(); if(!lockedView.rendered || !normalView.rendered) { return; } me.callOverridden(); }
-
31 Oct 2012 8:48 AM #24
hi,
@jcdang: Thanks, did use it.
I do experience a very bad performance due to the node store interaction when doing sorting. Without the node store synchronization it is moreless instantaneous with it, it takes more than 3 second with only a few nodes (lets say there are 30 nodes).
Do you experience the same? Any hints for me to solve this?
Thanks,
hiro
P.S.: Expanding or adding nodes is pretty fast, the biggest time consumption is caused by collapsing nodes.
-
31 Oct 2012 1:44 PM #25
I'm not sure I can give you direct answer without looking at what you have. The Sencha people made a significant amount of changes under the hood from 4.1.0, 4.1.1 and 4.1.2a. My company has been working between these versions and the patches are not really that similar.
I've tested 4.1.0 with ~50x20 nodes (2000 rows) with no issues using expand/collapse all.
With 4.1.1 there were some new bugs related to the Store that I ended up just pulling from 4.1.2a.
Also with 4.1.1, Sencha added listeners to the pageMap MixedCollection object on the stores. You may need to suspend this on bulk calls.
-
2 Nov 2012 3:04 AM #26
jcdang,
thanks for your fast answer.
there is one significant thing to mention. The TreePanel is populated with 47 columns. I just removed most of them and then it behaves pretty well.
Any thought how I can speed up in that environment? (will check on the pageMap MixedCollection and give it a try)
-
2 Nov 2012 5:18 AM #27
jcdang,
you were certainly right, there was a lot of stuff added in 4.1.1-4.1.3 (which I currently use). I solved my issue and made it more than acceptable in terms of speed by starting bulkUpdate operations before sort and collapse/ expand.
Thanks for your help!
hiro.
-
27 Nov 2012 10:12 PM #28
I am facing issues when trying to use this over ride but am facing some issues.
Can anyone please get the consolidated over rides and steps to achieve the buffered tree.
Or is there any plugin to achieve this...
Please help me out on this because my tree load more than 1000 nodes at one level...
Thanks in Advance
-
15 Apr 2013 3:26 AM #29
Hi Greengrake,
Could you please post the working example of this buffered tree. I need it for my huge dataset tree.
Many Thanks.
Similar Threads
-
Need to support Groupping view and Buffered View together Help
By vasa in forum Ext 3.x: Help & DiscussionReplies: 27Last Post: 15 Dec 2011, 2:11 PM -
Radio support to tree probleam
By VincentChen in forum Ext 2.x: Help & DiscussionReplies: 12Last Post: 12 Jan 2010, 6:37 AM -
Does ext support tree nodes paging?
By deb in forum Ext 1.x: Help & DiscussionReplies: 0Last Post: 2 Aug 2007, 10:52 PM


Reply With Quote