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