BCGControlBar Library for .NET
RemoveGroupNode Method




Specifies a group node to remove.
Specifies whether to remove rows residing in the group being removed from the row collection (RowCollection).
Specifies whether to mark the rows for deletion (in data bound grids).
Removes a group node from the group tree.
Syntax
'Declaration
 
Public Sub RemoveGroupNode( _
   ByVal groupNode As GroupNode, _
   ByVal removeRowsFromRowCollections As Boolean, _
   ByVal markRowsForDelete As Boolean _
) 
'Usage
 
Dim instance As GridData
Dim groupNode As GroupNode
Dim removeRowsFromRowCollections As Boolean
Dim markRowsForDelete As Boolean
 
instance.RemoveGroupNode(groupNode, removeRowsFromRowCollections, markRowsForDelete)
public void RemoveGroupNode( 
   GroupNode groupNode,
   bool removeRowsFromRowCollections,
   bool markRowsForDelete
)
public: void RemoveGroupNode( 
   GroupNode* groupNode,
   bool removeRowsFromRowCollections,
   bool markRowsForDelete
) 
public:
void RemoveGroupNode( 
   GroupNode^ groupNode,
   bool removeRowsFromRowCollections,
   bool markRowsForDelete
) 

Parameters

groupNode
Specifies a group node to remove.
removeRowsFromRowCollections
Specifies whether to remove rows residing in the group being removed from the row collection (RowCollection).
markRowsForDelete
Specifies whether to mark the rows for deletion (in data bound grids).
Remarks
Call this function to delete a group with all rows.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

GridData Class
GridData Members

Send Feedback