[EMAIL PROTECTED] writes:

> as seen in the examples for the table widget, I would like to have one
> column for checkboxes. Therefore using:
> qx.ui.table.BooleanDataCellRenderer() works fine. Now i would like to
> change those Datacells whenever clicking them (using them like a normal
> checkbox). How can i do this? Setting the whole column editable doesn´t
> work.

In the virtual widgets such as Table and TreeVirtual (which is derived
form Table), what you see on the screen are not widgets, but just
graphics.  They are rendered when they become visible and disposed of
when they are no loner visible (e.g. via scrolling).

In these widgets, you handle input via the Selection Manager.  For an
example of how you might do that, take a look at how TreeVirtual
recognizes when you click on the open/close (+/-) button.  You can find
the relevant code in
framework/source/class/qx/ui/treevirtual/SelectionManager.js, and in
particular the function _handleSelectEvent().

Cheers,

Derrell

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to