Skip to content

LoadSubNodes - cWebTreeView

Instructs the client to load a set of tree items

Type: Procedure

Parameters

Parameter Type Description
sParentId String The parent item's ID
sParentValue String The parent item's value
iLevel Integer The parent item's level

Syntax

Procedure LoadSubNodes String sParentId String sParentValue Integer iLevel

Call Example

Send LoadSubNodes sParentId sParentValue iLevel

Description

Send LoadSubNodes to instruct the client to load a set of tree items. This method first calls OnLoadChildNodes, passing the same set of parameters that were passed to LoadSubNodes. The set of tree items that are returned by OnLoadChildNodes will be passed back to the client and loaded into the treeview as child nodes of the passed parent item ID.

Normally, you do not need to call LoadSubNodes, as the client will automatically call this method each time it needs to display a set of tree items.