returns the object attached to a cell
string|object | attached object |
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