Skip to content

DeleteAll Method

Description

Removes all records and rows from the collection of records.

Syntax

Public Sub DeleteAll()

Remarks

Removes all GridRecord rows from the GridControl's collection of records. This will remove all rows that are attached to the records.

Example

GridRecords DeleteAll Method Sample (Visual Basic)

This sample illustrates how to remove all records/rows from the GridControl.

' Delete all Records/rows from the GridControl's collection of GridRecords.  
wndGridControl.Records.DeleteAll  

' Update GridControl's view with changes  
wndGridControl.Populate

See Also


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.