checking out if a component has been defined
var grid=null;
/* Check if the grid is defined */
if (typeof (gridxxx) !== typeof(undefined)){
grid = gridxxx
}else{
/* Grid isn't defined. Terminate action */
return false:
}
/* If this part of code is reached then the grid is defined and can be used */
grid. ...Last updated