On Thu, Sep 10, 2009 at 09:23, skar <[email protected]> wrote:
> Derrell Lipman wrote:
> > I think you're looking for table.setRowHeight(32);
> >
> > You're becoming a qooxdoo Jedi. It's time you start to Use the Source,
> Luke!
> > :-) Really, although this question is answered in the API docs, you're
> > getting sufficiently into qooxdoo development that you would really
> benefit
> > from delving into the sources of these classes. You'll learn a very lot
> that
> > you'll use elsewhere (i.e. not necessarily what you were trying to
> answer)
> > by studying the source to see how something works.
> >
> Hehe I'll look into the source from now on. Actually, I tried
> setRowHeight only. When I set it during the table creation itself, it
> worked fine. If I set it when I receive data from the server and know
> the actual icons needed and their heights, it didn't work, presumably
> because the table has already been created with a particular row height
> and it can't be changed?
>
That's correct. Table reuses the divs it has already created of the previous
height, for new rows. In Table, all rows must be the same height (one of the
key "deficiencies" that caused me to write qx.ui.progressive.Progressive and
its Table implementation -- which of course does not have many of the
niceties of qx.ui.table.Table). So yes, you have to decide at Table
instantiation time what size your rows are going to be.
Derrell
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel