IE doesnt show my progress bar when the data loads in to my Grid

2009-04-07 Thread Suren
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

Re: IE doesnt show my progress bar when the data loads in to my Grid

2009-04-08 Thread alex.d
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

Re: IE doesnt show my progress bar when the data loads in to my Grid

2009-04-08 Thread Thomas Broyer
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

Re: IE doesnt show my progress bar when the data loads in to my Grid

2009-04-08 Thread Suren
> 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 >

Re: IE doesnt show my progress bar when the data loads in to my Grid

2009-04-08 Thread Suren
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

Re: IE doesnt show my progress bar when the data loads in to my Grid

2009-04-09 Thread alex.d
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

Re: IE doesnt show my progress bar when the data loads in to my Grid

2009-04-09 Thread alex.d
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

Re: IE doesnt show my progress bar when the data loads in to my Grid

2009-04-09 Thread Suren
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

Re: IE doesnt show my progress bar when the data loads in to my Grid

2009-04-09 Thread Suren
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