Check documentation for the latest version 6.0 of dhtmlxSuite getAttachedObject DHTMLX Docs

getAttachedObject

returns object attached to a tab

string|object getAttachedObject();

Returns

string|objectattached object

Example

var myGrid = myTabbar.tabs(id).attachGrid({...});
 
// somewhere in a different place
var obj =  myTabbar.tabs(id).getAttachedObject();
if (typeof(window.dhtmlXGridObject) == "function" && obj instanceof dhtmlXGridObject) {
    // code related to grid
} else {
    // some other code
}

Back to top