On Thu, Jun 21, 2012 at 5:18 PM, totty <[email protected]> wrote:
> no, not all the data. The data in the view ("loads only data that is
> currently to be displayed"). But there is no event dispatched when the that
> data is ready. I made a custom event that is fired from within the method
> that must be implemented in the remote table (onDataReceived or something
> like that). But I didn't test well to say it works as expected.
>
It's actually your code that knows when the data has arrived. You are
extending qx.ui.table.model.Remote, which is an abstract class, and
providing a _loadRowCount() method and a _loadRowData() method. Whenever
your _loadRowData() method does to retrieve the data, it arranges to have
_onRowDataLoaded() called. When your code calls _onRowDataLoaded(), that's
when the data has been received. If you can't process the data received
code right there, then you could issue your 'dataReceived' event at that
time.
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel