* Derrell Lipman <[email protected]> [090320 13:44]:
> You're right, it is a bit strange. It's uncommon, I think, though, to change
> a single column heading (or even to change any column headings at all), so
> this issue hasn't been raised before, and there is no method for simply
> changing a single column heading.
One reason for writing this message was that I think this interface
should be considered for consolidation. Naming of methods is just
counter intuitive and could be much easier in my opinion.
The other reason was for getting other solutions than having my qooxdoo
tree patched...
> If you're not providing your own column ids (which I wouldn't expect you to
> be doing if this is for a TreeVirtual) then you should be able to simply
> pass the entire (modified) array of column headings:
> dataModel.setColumns(columnNameArr);
>
> That columnNameArr is just like you provided as the first parameter to the
> constructor of your TreeVirtual. If you're planning on doing these changes
> regularly, you might want to save that columnNameArr as user data associated
> with the TreeVirtual:
>
> var tree = new qx.ui.treevirtual.TreeVirtual(columnNameArr);
> tree.setUserData("headings", columnNameArr);
>
> and then later, you can easily retrieve the column names:
>
> var columnNameArr = tree.getUserData("headings");
>
> Hope that helps.
... and this sounds reasonable and I learned about set/getUserData.
Thanks!
Gereon
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel