On Fri, May 20, 2011 at 10:32, randylb <[email protected]> wrote:
>
> I have also examined the actual renderers code involved but am unable to
> discover the property(let alone the syntax) for firing an event.
>
> Hope I have made clear the problem and you can give me some guidance.
>
Ok, so it seems that Progressive is a reasonable option for you.
Progressive's table, though, is much lower-level than most qooxdoo widgets.
Using Progressive allows for doing some things you can't do with Table (e.g.
variable row height), at the expense of the lower-level interface. You have
to work with DOM elements rather than with qooxdoo widgets.
You've looked at the renderer code, so you've seen that it builds up the
onclick handler. You should write a similar renderer (copy the Boolean
renderer to one of your own). In yours, you'll add code to onclick to call a
function that fires an event. To fire the event, you'll want to add an
"events" section to your new class configuration, probably something like
this:
events :
{
"cellClick" : "qx.event.type.Data"
}
and then when your function is called, you'll issue a data event:
this.fireDataEvent("cellClick", { whatever data you want in this map });
The widget you _really_ want is the Virtual Table, but that's still prlbably
a few months away from full implementation. What I just gave you, though,
should hopefully get you going on your current path.
Derrell
------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its
next-generation tools to help Windows* and Linux* C/C++ and Fortran
developers boost performance applications - including clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel