Check documentation for the latest version of dhtmlxSuite getAttachedObject DHTMLX Docs

getAttachedObject

returns the object attached to a cell

string|object getAttachedObject();
string|objectattached object

Example

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

Back to top