Some more information.
I am talking about 14 columns here and 10,000.
I did testing with 3 columns and 10,000 rows. It is still the same
behaviour.
When I tested with 14 columns and 500 rows, it is doing much better.
I don't have any boolean renders/images here. I have couple of float
columns. If string gives better performance, I can convert them to string if
I know how to do that.
Thanks.
Kanugula.
kanugula wrote:
>
> Hello,
>
> qooxdoo 0.7.3
> IE 6 and FF
>
> I have seen the RemoteTable fires _loadRowCount() multiple times (ranging
> from 2 - 30 times) depending on row count.
> Only after the last _loadRowCount() is finished, it calls _loadRowData().
>
> I am guessing that _loadRowData() is called only AFTER building the Table
> with empty rows of reutned Row Count size.
>
> If my assumptions is correct, why can't we build the empty table (if not,
> atleast for block of Pages in the background)?
>
> Firing _loadRowCount() multiplen times may not be an issue in my case, but
> the delay caused by filling up empty table for large number of rows (say
> 10000 rows) is showing a blank screen for a long time.
>
> _loadRowCount: function ()
> {
> var rpc = new qx.io.remote.Rpc(this.getServiceUrl(), "MyRpcService");
>
> rpc.setTimeout(30000);
> if (qx.core.Variant.isSet("qx.debug", "on"))
> {rpc.setCrossDomain(true);}
>
> var handler = function(result, exc) {
> if (exc == null) {
> //alert("Server returned: "+result);
> }
> else
> {
> this.info("Exception from the server: "+exc);
> }
> this._onRowCountLoaded(result);
> };
> rpc.callAsync(handler, "MyRowCountMethod");
> },
>
>
> _loadRowData : function(firstRow, lastRow)
> {
> var rpc = new qx.io.remote.Rpc(this.getServiceUrl(),
> "com.barcap.fdm.qooxdoo.rpc.service.RpcService");
> rpc.setTimeout(30000);
> if (qx.core.Variant.isSet("qx.debug", "on"))
> {rpc.setCrossDomain(true);}
>
> var handler = function(result, exc) {
> if (exc == null) {
> //alert("Server returned: "+result.length);
>
> var rowData = this.formulateRowData(result);
> }
> else
> {
> //alert("Exception from the server: "+exc);
> }
> this._onRowDataLoaded (rowData);
> };
> rpc.callAsync(handler, "MyRowDataMethod", firstRow, rowCount);
>
> }
>
> Please discard any syntax errors. Is my code correct? Has anybody seen
> this kind of problem? I dont get any Rpc timeout or any other error.
>
> Thanks.
> Kanugula.
>
--
View this message in context:
http://www.nabble.com/RmoteTable-fires-_loadRowCount%28%29-multiple-times-for-very-1st-request-tp16628238p16629041.html
Sent from the qooxdoo-devel mailing list archive at Nabble.com.
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel