Hi,
We all know that Remote Table fires the future request in asynshrously in
the background and keeps it in cache.
I have a Progress Bar indicator which appears when the _loadRowData() is
called. It disappears when the data is retrieved. The problem is, I see this
Progress Bar 2 times, because _loadRowData() is called 2 times in case of
lot of rows.
Is there a way to identify the 2nd background request for _loadRowData(); I
tried to chek the vaule of the field this._firstRowToLoad from
RemoteTable.js (-1 for the first request as per the code says) , but with no
success.
Any ideas?
The ProgressBar State
=================
var handler = function(result, exc) {
MyAjaxStatusBar.getInstance().setDisplay(false);
that._onRowDataLoaded (rowData);
};
rpc.callAsync(handler, "MyMethod");
//if (this._firstRowToLoad == -1) { //this doesn't work
MyAjaxStatusBar.getInstance().setDisplay(true);
//}
Thanks.
Kanugula.
--
View this message in context:
http://www.nabble.com/How-to-identify-RemoteTable%27s-backgound-pre-fetch-request--tp17677119p17677119.html
Sent from the qooxdoo-devel mailing list archive at Nabble.com.
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel