Use the ObjectGridManager.getObjectGrid methods to retrieve cached instances.
ObjectGrid myEmployees = oGridManager.getObjectGrid("Employees");
The following are the two getObjectGrid methods that return cached ObjectGrid instances:
To obtain all of the ObjectGrid instances that have been previously cached, use the getObjectGrids method, which returns a list of each instance. If no cached instances exist, the method will return null.
To obtain a single cached instance of an ObjectGrid, use getObjectGrid(String objectGridName), passing the name of the cached instance into the method. The method either returns the ObjectGrid instance with the specified name or returns null if there is no ObjectGrid instance with that name.