Hi Alex,

Yes it seems to me that this is not possible to show my gif properly.
I can do like what you suggest, but already I am having some
performance issue, if I include empty loops, that will cause me
heavily. So I am planning to show a static text in a Label. I have to
try that. But before doing that, one doubt in my mind..is that..

Do the same thing will happen to the Label too? like it will show
blank kind of a page when the gid is loaded.

Anyway let me try and confirm

Thanks everyone for help

Suren

On Apr 9, 3:05 pm, "alex.d" <[email protected]> wrote:
> That's because browser is to busy with populating the grid, that it
> doesn't have time to animate you gif. I don't think you can really
> solve this. You can put some empty loops into setGridDataInfo(for
> example after each 10 rows or smth.) to get browser time to update
> your gif - but imho it's just isn't worth it. A static label is
> enough. If google use it(google maps) then it's probably not that bad.
>
> On 9 Apr., 11:18, Suren <[email protected]> wrote:
>
>
>
> > Hi Alex,
>
> > I have tried as you mentioned. Label is initially shown and the gif
> > image started giving me kind of progress bar impression. But it
> > stopped in the half way and hangs there until my grid is shown
>
> > Any help?
>
> > Thanks
> > Suren
>
> > On Apr 9, 1:43 pm, "alex.d" <[email protected]> wrote:
>
> > > 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 -- Hide quoted text -
>
> > > - Show quoted text -- 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