Gaurav Jauhri schrieb:
> Hi,
>
>  I am migrating an application from 0.7 to 0.8.
>
> I have a tree widget in 0.7 using the following classes and methods:-
>
> qx.ui.tree.TreeRowStructure.getInstance().standard() and using the built 
> in methods addIndent(), addIcon,  addObject etc.., where i click on a 
> node and the correspondence image changes or another widgets gets added 
> at the same row of the selected node etc..
>
> I see that there is no class named TreeRowStructure in 0.8.
>
> Moreover i see that qx.ui.treevirtual.SimpleTreeDataCellRenderer in 0.8 
> has these in built functions but are protected methods and i wish to use 
> qx.ui.tree.Tree instead of qx.ui.treevirtual.SimpleTreeDataCellRenderer 
> since i do not want a table layout.
> How can i use these functionalities in 0.8? and which class should I use 
> to extend my class ?
>   
The functionality of the TreeRowStructure has been merged into the 
TreeItem class. Please take a look at the "Tree columns" demo in the 
demo browser how to use it 
<http://demo.qooxdoo.org/current/demobrowser/#widget~Tree_Columns.html>. 
This is pretty much like the old TreeRowStructure.

Best Fabian




-- 
Fabian Jakobs
JavaScript Framework Developer

1&1 Internet AG
Brauerstraße 48
76135 Karlsruhe

Amtsgericht Montabaur HRB 6484

Vorstand: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Matthias Greve, Robert Hoffmann, Markus Huhn, Oliver Mauss, Achim 
Weiss
Aufsichtsratsvorsitzender: Michael Scheeren


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to