matsbryntse / extjs4-lockable-tree Goto Github PK
View Code? Open in Web Editor NEWExt JS 4 Lockable Buffered TreeGrid
Ext JS 4 Lockable Buffered TreeGrid
Thank's a lot for this work, it really helped me implement a similar feature in my current project.
However, just FYI, the component stops working with ExtJS 4.1.1. Error in LockableBufferedTree.js, line 261. Basically the DOM element for the "normal grid" is no longer ready at the point updateSpacer() is firing. (Cannot read property 'dom' of undefined.)
I tried adding another condition to the if block for "&& this.normalGrid.getView().rendered". That skips this error but leads to more further down in the guts of ext-all-debug. Framework tries to call setHeight() on the DOM element of a CompositeElement (which I believe is the verticalScroller.stretcher). I tried to keep digging, but unfortunately I didn't get any further. At that point it's so deep into the layout or rendering cycle that I'm over my head and really not sure what to try and look for.
I have SVN access so I tried to compare tags for 4.1.0 and 4.1.1 to see if I could narrow down the change that is causing this, but it looks like the tags aren't publicly accessible. :-/
Regards,
Brian
I am trying to make use of this component. However, when I create a new instance of the Ext.tree.Panel I am getting this exception. Can you please explain what this does?
if (this.lockedGrid.view.store !== this.normalGrid.view.store) {
Ext.Error.raise('Sch.mixin.Lockable setup failed, not sharing store between the two views');
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.