I opened a bug report to improve the API and make the "target" more clear.
http://bugs.qooxdoo.org/show_bug.cgi?id=7769
By the way here is the Link to the demo page I have forgotten before.
http://demo.qooxdoo.org/devel/demobrowser/index.html#table~Table_Filtered_Model.html
Gruß
Mustafa Sak
Applications & Integration
1&1 Internet AG
Ernst-Frey-Straße 10
DE-76135 Karlsruhe
Von: Mustafa Sak [mailto:[email protected]]
Gesendet: Freitag, 4. Oktober 2013 11:28
An: qooxdoo Development
Betreff: Re: [qooxdoo-devel] about table and filters
By the way you are able to use column ids (not index) if set, which should be
unique at all.
Gruß
Mustafa Sak
Applications & Integration
1&1 Internet AG
Ernst-Frey-Straße 10
DE-76135 Karlsruhe
Von: Mustafa Sak [mailto:[email protected]]
Gesendet: Freitag, 4. Oktober 2013 11:20
An: qooxdoo Development
Betreff: Re: [qooxdoo-devel] about table and filters
Hi Yordan,
First of all use unique column headers. Then iterate through all column names
and set your filters:
// code not tested
for (var i=0; I < tableModel.getColumnCount(); i++)
{
var colName = tableModel.getColumnName(i);
tableModel.addNumericFilter("==", 1, colName);
}
Here is a good example. Please notice that target means here the column name
not column id or index.
Gruß
Mustafa Sak
Applications & Integration
1&1 Internet AG
Ernst-Frey-Straße 10
DE-76135 Karlsruhe
Von: Yordan Estrada [mailto:[email protected]]
Gesendet: Mittwoch, 2. Oktober 2013 22:42
An: qooxdoo Development
Betreff: [qooxdoo-devel] about table and filters
Hello everybody, can someone tell me how can I insert the filter behavior in
each column of the table? I want to imitate the excel behavior where is
possible to filter by the values of the records the user want to see. Is there
any example to follow??
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel