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?
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,