Hi,
I have a small application with a toolbar (with search button) and a
table with data.
I want to filter the data in the table with the value from the search
button.
The search button (and the search textfield) are working and firing data
events (event "search").
If I add an event-listener to the MainWindow for the search event with
some debug output, i can see the event (and the data from the search
textfield) in the console.
But if I add an event listener to the table, there isn't any debug output.
What am I doing wrong ?
The code snippet around the table initialisation is:
var table = new dbbrowser.Table();
this.add(table.createTable(), {row: 2, column: 0});
this.debug("In MainWindow");
table.addListener("search", function(e) {
this.debug("Filter: " + e[0] + " <-> " + e[1]);
}, this);
in dbbrowser/Table.js, there is a search event defined:
events :
{
"search" : "qx.event.type.Data"
}
Uli
--
Fachbegriffe der Informatik - Einfach erklärt:
229: Change-Management
Club der Ja-Sager. (Manfred Worm Schäfer)
------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network
management toolset available today. Delivers lowest initial
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel