I solved the same issue by not displaying the comment in the table and instead showing an image of a "comment button". Then by listing to the cellclick event, I open a popup-box displaying the comment. Of course, this only is a solution if the comments are only being read "occasionally".
Cheers, Fritz On Fri, 28 Jan 2011, Derrell Lipman wrote: > 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 > -- Oetiker+Partner AG tel: +41 62 775 9903 (direct) Fritz Zaucker +41 62 775 9900 (switch board) Aarweg 15 +41 79 675 0630 (mobile) CH-4600 Olten fax: +41 62 775 9905 Schweiz web: www.oetiker.ch ------------------------------------------------------------------------------ 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
