returns object attached to a window
string|object | attached object |
var myGrid = myWins.window(id).attachGrid({...});
// somewhere in other place
var obj = myWins.window(id).getAttachedObject();
if (typeof(window.dhtmlXGridObject) == "function" && obj instanceof dhtmlXGridObject) {
// code related to grid
} else {
// some other code
}
Back to top