As if ExtJs is not complicated enough it also displays remarkable behaviour....
Say you create a tree and add a listener for a click event on its nodes and a handler for the event, what would your guess be for the selected node upon your initial click on one of the items in the tree?
Selected or not selected? That’s the million $ question...
Well, according to my debugger the selected item is null when the event fires upon an initial click on a tree element.
The ExtJs API documentation states: click : ( Node node, Ext.EventObject e ) Fires when a node is clicked.
Very subtle.... Was I just plain stupid to expect a selected node? According to the API there is a "beforeclick" event (selected item == null) - but no "afterclick" event.
So far I find ExtJs extremely complicated with a learning curve as steep as Kilimanjaro. I’ve spent the last week reading through zillions of blogs with countless examples that would not work in MODx.
<angermanagement>GOOSFRABA</angermanagement>
Sorry for the rant. I’m ok now....
MODx Revolution / MAMP / OS X