On 08/30/2011 04:07 PM, kidproquo wrote: > is called only once and data reloads only refresh the labels. I am guessing > that the Tree model does not do incremental updates and the List model does.
That was my guess too, remember?! > With VirtualTree, I have the createItem issue resolved (the custom widgets > are created only once and only their labels are refreshed at data reload). > But, setOpen(true) does not work :-(. So, the tree is always loaded in a > collapsed state. Data reloads always cause the tree to be collapsed. But that seems a rather trivial problem. setOpen only works on a single tree item. To open all tree items, traverse the tree and setOpen an any of them. Or, maybe better, store the state of the open property for each tree item, and after refreshing the model, restore their state. This way, the user gets the items open that were open before the refresh. T. ------------------------------------------------------------------------------ Special Offer -- Download ArcSight Logger for FREE! Finally, a world-class log management solution at an even better price-free! And you'll get a free "Love Thy Logs" t-shirt when you download Logger. Secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsisghtdev2dev _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
