"Joe Hudson" <[EMAIL PROTECTED]> writes:

> I’m having trouble getting the hideOpenClose method to work with the .7
> release
>
> The example in TreeVirtual_2.html show: tree.nodeSetHideOpenClose(node,
> true);
> But, I get the following error: “this._tree.nodeSetHideOpenClose is not a
> function”
>
> Can anybody help me with this?  Thanks.

Are you including the mixin that provides the extra node functionality?
Take a look once more at the example.  You'll find this code which you
need in your application if you want to use the added functionality:

    // We want to use some of the high-level node operation convenience
    // methods rather than manually digging into the TreeVirtual helper
    // classes.  Include the mixin that provides them.
    qx.Class.include(qx.ui.treevirtual.TreeVirtual,
                     qx.ui.treevirtual.MNode);


Cheers,

Derrell

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to