Chapter Contents

Previous

Next
Organizational Chart: _collapse

Organizational Chart: _collapse



Hides all levels of children of a node


Syntax
Details
Example

Syntax

CALL NOTIFY (orgchart-name, '_collapse', node-id);

Argument Type Description
node-id
N specifies the numeric identifier of the node


Details

The frame objects themselves are actually removed from the frame if they existed prior to this method call. This method has no effect if the node passed in is hidden itself.

You can specify this method as the default action for a double click a node with children by choosing Hide/unhide children upon double click in the Select Action window.


Example

This example hides all the children of a node when it is selected :

ORG1:
   call notify('org1','_get_selected_',
                widgetid,nodeid);
   if (nodeid eq 0) then return;
   call notify('org1','_collapse_',nodeid);
return;


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.