3.2.0

setStatusProperty for Version2

I am upgrading from V1 to V2. I have the following code, which sets the no records found text i requirel:

obj.setStatusProperty("text",setStatusMessage(obj, "None found"));

function setUpStatusMessage(obj, sNoDataMessage)
{

switch(obj.getStatusProperty("code"))
{
case "loading":
return "Loading data, please wait...";
case "nodata":
return sNoDataMessage;
default:
return "";
}
}

This call fails for version 2 and I cannot find an equivelant call. Any idea?
h
January 8,
The status message is not implemented in AW 2.0 (yet). Maybe just make a floating div and put a message there...
Alex (ActiveWidgets)
January 8,

This topic is archived.

See also:


Back to support forum