:: Forum >>

Displaying your own Status image

Hi all,

As i have read in this forum using an animated GIF to show status when the grid is loading does not work well in IE, as it halts the animation whilst rendering the page.

So, i wanted to show a simple GIF file saying "Processing - Please Wait"

Here is what i did

#grid.css
.active-image-processing{position:absolute;top:40px;left:10px;width:607px;height:100%;margin-right:-87px;background:url(/images/lab/processing.gif) no-repeat;}

In my .js file I redefined the following methods to accomodate my new status

obj.defineStatusProperty("text", function(){

switch(this.getStatusProperty("code")) {
case "processing":
return "";
case "loading":
return "Loading data, please wait...";
case "nodata":
return "No data found.";
default:
return "";
}
});


obj.defineStatusProperty("image", function(){

switch(this.getStatusProperty("code")) {
case "loading":
return "loading";
case "processing":
return "processing";
default:
return "none";
}
});

My issue is it all works :) But when the Processing GIF shows up on the Grid it appears to be cut-off height wise. I tried changing the height attribute of the CSS style for active-image-processing.

Can someone help? Please

Thanks
GridUser
Tuesday, November 1, 2005
GridUser,
Are you using V2 or V1 of the grid?

I haven't seen any reference to this functionality in V2.
Anyone know if the feature is implemented?

Cheers
BT
Thursday, November 10, 2005
See Alex's recent post titled: "aw-2-0-release-schedule" (9th Nov) in which he mentions "- grid status (loading etc.)" for the next version beta3.


Will
Thursday, November 10, 2005
Thanks Will.
BT
Thursday, November 10, 2005
http://www.activewidgets.com/javascript.forum.10387.4/example-animated-gif-while-large.html
Sam S.
Monday, January 23, 2006

This topic is archived.


Back to support forum

Forum search