ComponentOne True DBGrid Pro 8
Collapse Event

 

Collapse Event

The Collapse event is fired when a user clicks on the collapse row icon ("–") in an expanded hierarchical grid row.

Syntax

TDBGrid_Collapse (Band As Integer, Cancel as Integer)

Arguments

Band is a zero-based index that identifies which recordset level holds the current row within a master-detail hierarchy.

Cancel is an integer that may be set to True to prohibit the user from collapsing the current row.

Remarks

Event applies to TDBGrid control (OLE DB only).

Note

Setting the Cancel parameter to True ignores the user action and does not collapse the row.

This property is only supported by the OLE DB version of True DBGrid Pro.

See Also

TDBGrid Control

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback