Hi,
I'm relatively new to qooxdoo, but have come across a problem I'm having
trouble solving.
I modified the Table Header (Row) to include a TextField which I wanted
to use as a field filter for the table.
The problem I'm having is that, I need to send an event, to be captured
somewhere up the chain (either by the model, or the table. I'm currently
using a custom widget, that includes a Table with a Custom Column Model).
Unfortunately, as far as I see it, I need to do something like:
obj.addListener("changeFilter", function (e) {
alert(e.getValue());
});
where obj, should be each TextField in each Header Column.
I have 2 problems:
1. I don't know how to retrieve the TextField object from the Header
Column (i.e. I don't understand the Table Object structure well enough,
to figure out how to get the Object)
2. Even if I did figure out how to solve (1), I would still need to
attach a listener, to each TextField in the Header Columns, even though
all I want to do is catch the "changeFilter" event that is fired by the
TextField. I was hoping to use something like the bubbling system from
the DOM (i.e. the changeFilter event bubbles up to the Table Object) so
that I would only need to register a single listener, at the Table/Model
Level to catch the events from all the Text Fields.
I will take any solution, but I was hoping to make things simpler and
see if qooxdoo had something that would allow me to implement (2).
TIA
PF
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel