On Fri, Feb 12, 2010 at 10:29, Dave Baggett <[email protected]> wrote:
>
> You can pass a tablePaneHeader key to the call to new
> qx.ui.treevirtual.TreeVirtual, like so:
>
> tree = new qx.ui.treevirtual.TreeVirtual("Tree", { tablePaneHeader:
> function
> (obj) { return new your_header_class(obj); });
>
> That's what I do, at least.
>
Yes, that's the correct way to do it. The table pane header is generated
early in the construction process, so is difficult to change later. By
providing to the constructor the function to instantiate your custom pane
header, you allow the pane header to be constructed initially the correct
way. (There are some components of Table, and thus TreeVirtual, that simply
can't be changed later. I don't recall offhand whether the pane header is
one of those, but this is certainly the easiest way to do it in any case.)
Derrell
------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel