Try to fetch data in a defferedCommand:

DeferredCommand.addCommand(new Command(){
  public void execute() {
    dbFetch.setGridDataInfo(asyncCallback);
  }
});

On 9 Apr., 07:42, Suren <[email protected]> wrote:
> Hi Thomas,
>
> Thanks for the reply. I am a stranger to IncrementalCommand. Anyway
> let me check what is all about.
>
> Thanks.
> Suren
>
> On Apr 8, 9:04 pm, Thomas Broyer <[email protected]> wrote:
>
> > On 8 avr, 07:22, Suren <[email protected]> wrote:
>
> > > Hi All,
>
> > > I am loading 100x100 values into the cells of a Grid from the DB. Its
> > > taking some time to show the Grid in IE.
>
> > > So thought of showing a progress bar during that time instead of
> > > showing blank page to the user.
>
> > > So I am trying to display a progressbar.gif image during the data
> > > load.
>
> > > But the problem here is that, still the progressbar is not shown. Its
> > > showing hourglass mouse cursor in the IE and showing nothing and looks
> > > like the loading page.
>
> > > what I am doing wrong here? do I need to have a seperate thread to
> > > show the image??
>
> > > Or instead of this approach, I expect if anything else is better way
> > > of doing it from the group.
>
> > IncrementalCommand is your new friend! ;-)
>
> > In a few words: split your data loading algorithm and load "segments"
> > at a time.- Hide quoted text -
>
> > - Show quoted text -
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to