On Mon, May 14, 2012 at 12:46 PM, paragasu <parag...@gmail.com> wrote:

> Hi All,
>
> I am trying to use the qooxdoo contrib smarttablemodel.
> Everything works well, but i have no idea how to get the filter works
> since i cannot find a clear demo or example how to do it.
>
> anyone know what is the equivalent of addRegex
> (qx.ui.table.model.Filtered)  in smart.model.Default?
>
> Help appreciated.
>

A good example of filtering in *Smart* is the "tree" demo
(SmartTableModel/trunk/demo/tree). From that directory, correct
QOOXDOO_PATH in config.json to point to your qooxdoo directory, and run
"generate.py source". When you load the app, you'll see that some of the
headers have dots, indicating that you can change the view and filtering.
The "Read?" column applies one of two filters.

The code to do that is in the Application.js file for that demo.

Hope that helps. Be aware that *Smart* is generally unsupported. I'll try
to answer questions about it, but there is no further work being done on
it. That said, it seems to work well with little support having been
required.

Cheers,

Derrell
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to