![]() Chapter Contents |
![]() Previous |
![]() Next |
| Organizational Chart: _deleteNode |
| Syntax | |
| Details | |
| Examples |
Syntax |
| CALL NOTIFY (orgchart-name, '_deleteNode', node-id); |
| Argument | Type | Description |
|---|---|---|
| node-id |
N | specifies the numeric identifier of the node to be deleted |
| Details |
If you have stored numeric node identifiers returned as a result of the _search or _getSelected methods, or by other means, these identifiers may become invalid if you remove the associated nodes using the _deleteNode or _repopulate method.
| Examples |
Remove the selected node and its children from the tree.
call notify('ORG','_getSelected',
widgetid,nodeid);
if (nodeid eq 0) then return;
call notify('ORG','_deleteNode',
nodeid);
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.