Skip to content

OnCollapse - cWebTreeView

Fires when a treeview item is collapsed

Type: Event

Parameters

Parameter Type Description
sId String The item's Id
sValue String The item's value
iLevel Integer The item's tree level

Syntax

Procedure OnCollapse String sId String sValue Integer iLevel

Description

Fires when a treeview item is collapsed.

This event also fires in a separate round-trip when Collapse or CollapseAll is sent.

By default, this event is turned off using pbServerOnExpand.