On Fri, Jan 28, 2011 at 08:17, omrihar <[email protected]> wrote:
>
> Is there a way (similar to setting the Label's rich property to true) to
> prevent a table from clipping a line which is too long and instead double
> or
> triple the row height?
>
Unfortunately not. Because the Table is "virtual" in that it renders only
those rows which are currently visible, the implementation fixes the row
height and then reuses rows and cells as the user scrolls. It is not
possible to have variable row height using qx.ui.table.Table.
You have a few options. Firstly, you can change the table's row height, e.g.
triple the default with table.setRowHeight(60), and then use something like
the HTML renderer. This will allow multiple lines of data per cell, all rows
have the same, increased height.
Alternatively, if you don't require the Remote data model (i.e., all data is
local at the browser), you can use qx.ui.progressive.Progressive's table
renderers to achieve variable row height tables. The usage model is very
different than qx.ui.table.Table, but it does provide certain advantages
such as this.
Finally, depending on your needs and whether your requirements have yet been
implemented, the brand new qx.ui.virtual.* widgets may achieve your needs.
Hope that helps,
Derrell
------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires
February 28th, so secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel