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 th
You can't "start antother thread" from javascript. And though it's a
singlethreaded environment your animation isn't "moving" probably
because browser is busy with filling the data. You can show some
static text "Loading..." and then load your data.
On 8 Apr., 07:22, Suren wrote:
> Hi All,
>
> I
On 8 avr, 07:22, Suren 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 pro
> Schedule it to 1000 ms and the work is done.
>
> Regards
> Vaibhav Saxena
>
>
>
> ---Original Message---
>
> From: alex.d
> Date: 4/8/2009 1:40:31 PM
> To: Google Web Toolkit
> Subject: Re: IE doesnt show my progress bar when the data loads in to my
>
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 wrote:
> On 8 avr, 07:22, Suren wrote:
>
>
>
>
>
> > Hi All,
>
> > I am loading 100x100 values into the cells of a Grid from the DB. It
Try to fetch data in a defferedCommand:
DeferredCommand.addCommand(new Command(){
public void execute() {
dbFetch.setGridDataInfo(asyncCallback);
}
});
On 9 Apr., 07:42, Suren wrote:
> Hi Thomas,
>
> Thanks for the reply. I am a stranger to IncrementalCommand. Anyway
> let me check what
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
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 do
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" wrote:
> Try to fetch data in a deffer