On Fri, Nov 28, 2008 at 11:15 AM, Tobias Oetiker <[EMAIL PROTECTED]> wrote:
> Is there a way to have to qooxdoo 0.7 table widget automatically
> figure out the initial column width so that it adapts to the content
> shown ?
Hi Tobi,
Take a look at
http://demo.qooxdoo.org/devel/demobrowser/#table~Table_Resize_Columns.html
Although that demo is using the 0.8 (trunk) code, I don't believe there have
been any changes to the API to Table since 0.7. In particular, look at how
tableColumnModel is specified in the "custom" parameter to the constructor,
and then how resizeBehavior is used. (You'll likely want to look at the API
documentation for qx.ui.table.columnmodel.Resize.)
In case you don't know, you can view the source code the this example by
pressing the "JS Code" button near the top right.
Cheers,
Derrell
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel