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

Reply via email to