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.
-- 
View this message in context: 
http://qooxdoo.678.n2.nabble.com/How-to-flush-pending-events-tp5480534p5480534.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
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

Reply via email to