On Fri, Apr 11, 2008 at 3:57 PM, kanugula <[EMAIL PROTECTED]> wrote:
>
>  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.

This is a known problem that requires reworking the way requests for
row data are issued by Table.  Currently, IIRC, the remote table model
isn't notified of a pending need for data until the need is immediate
(or nearly so).  The calls to the backend are thus made at the time
that the table needs refreshing.  That's too late.  There are already
hooks to allow pre-fetching data, but they're called at just about the
same time as the need for that data so it's not really pre-fetched.

I've wanted to get around to reworking this code for a while, but just
haven't yet found the time.  It is certainly an area that could use
some work.

Derrell

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

Reply via email to