Hey,

interesting:

Using the Filtered model I tackled the following:
function applyFilters() calls func. hideRows(), calls func removeRows()
which uses:
this.fireDataEvent("dataChanged", data);

So even when applyFilters() has the dataChanged event fired as last, the
removeRows() keeps firing every time it removes a row or a set of rows!
In my case for some reason it removes row by row, and with 200 rows it
takes some time.
This seems to be a faulty design, at least from the viewpoint of a Filter.

How can I work around this? extend qx.ui.table.model.Simple and override
removeRows() ??
Or override the applyFilter method?

Regards
Patrice


2012/3/15 Martin Wittemann <[email protected]>

> Hey,
>
> > I would like to know, because I haven't find in API guide, an event that
> > focused on applyfilter.
> >
> > My table has about 2000 row, and when apply filters sometimes the
> operation
> > takes a lot of time, this is not a problem, but I would like to
> communicate
> > to the user that the operation is working.
> >
> > So I need on events likes on qx.io.remote.Request where we have an event
> for
> > "completed" and one "receiving".
>
> As far as I have seen, there is only a 'dataChanged' event at the end of
> applyFilter. I would suggest to extend from the filtered table model and
> override the applyFilter method. Then, you can fire the event and after
> that, call the base function which means executing the function body of the
> superclass.
>
> Regards,
> Martin
>
> ------------------------------------------------------------------------------
> This SF email is sponsosred by:
> Try Windows Azure free for 90 days Click Here
> http://p.sf.net/sfu/sfd2d-msazure
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to