onOpenEnd

fires after opening or closing a branch in treegrid

void onOpenEnd(string|number id,number state){ ... };

Parameters

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