Check documentation for the latest version of dhtmlxSuite onOpenEnd DHTMLX Docs

onOpenEnd

fires after opening or closing a branch in treegrid

void onOpenEnd(string|number id,number state);
idstring|numberthe id of the related tree-item
statenumberthe current item state, 1 if item is currently opened

Example

treegrid.attachEvent("onOpenEnd", function(){
  //custom code here
  return true;
});

Back to top