Hi Benoît, the events are not queued like the widgets. I don't know why it doesn't work in your case, have a look at the window implementation.
Here is a before event feature implemented (close method line 622): http://tinyurl.com/32keygu And here an example to use it: http://tinyurl.com/2wwmsyy Cheers, Chris Am 31.08.2010 01:03, schrieb benco: > Hi, > > I'm facing an really annoying problem. > > I have a table containing more than 80000 rows. > > In order to improve the user experience when sorting, I extended the simple > model and added an event "beforeSorted". > > In concrete terms, I add a listener at runtime on the model to show a > message containing "sorting tooooo much datas - please wait and drink some > coffee xD" - yes, I still have to find a good message :D > > My problem is the following: as the method qx.core.Object.fireDataEvent() is > async (it returns true), the sort() method is called directly on the > __rowArr array. So, as it's really CPU intensive, the event is practically > fired after the sort() call. > > So my question is: is it possible to called some sort of flush() method, > following the example of the widget queue ? > > Best Regards, > > Benoît. ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
