On Thu, Dec 9, 2010 at 09:21, ocset <[email protected]> wrote:

>
> Hi
>
> I am new to qooxdoo and have used ExtJs for a while but really like the
> simple coding in qooxdoo, which is why I am trying to migrate across.
>
> One of the things I am looking to do is have a table with a "VirtualTree"
> assigned to each row in the table to show more info for that record.
>
> There is a good example in ExtJS (sorry for using the competition as an
> example) -
> http://dev.sencha.com/deploy/dev/examples/grid/grid-plugins.html (first
> example on the page)
>
> Is this possible in qooxdoo? If so, please give me some pointers.
>

You can do something similar. qx.ui.treevirtual.TreeVirtual, and
qx.ui.table.Table from which descends, provide only for a fixed row height.
You therefore can't quite get the effect the ExtJS demo provides. You can,
however, do something similar. If you create your own cell renderer, and
have its createDataCellHtml() method return true, no further cells in that
row will be rendered. Furthermore, you can override the drawing of the right
border of the cell, so that the cell continues to the right border of the
table or tree. Here's an example where that's been done:
http://tinyurl.com/333hyhv. Although that demo shows it with a table, you
can do the same sort of thing with treevirtual to obtain the expansion as in
the ExtJS demo.

It will, eventually, be possible to do exactly as ExtJS does in qooxdoo. The
new virtual widget framework (qx.ui.virtual.*), once completed, will allow
this sort of thing to be done fairly easily. We're still a number of months,
at least, away from that becoming a reality though.

Cheers,

Derrell
------------------------------------------------------------------------------
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to