Populate Method
See Also

| Grid Control ActiveX Control v24.0 | ||||||||
|---|---|---|---|---|---|---|---|---|
Description
Populates the GridControl with a GridRow collection containing the data from the GridRecords.
Syntax
Public Sub Populate()
Remarks
- GridRows (which are associated with a GridRecord) will not be added to the GridControl's view until the Populate method is called.
- Changes made to the GroupsOrder or SortOrder collections will only take effect after the Populate method is called.
- Populate can be called after each record is added or after you are done adding all records. If at any time you add or delete GridRecords, the changes will not be visible until the Populate method is called.
Example
' Any time you add or delete rows (by removing the attached record), you must call the
' Populate method so the GridControl will display the changes.
' If rows are added, the rows will remain hidden until Populate is called.
' If rows are deleted, the rows will remain visible until Populate is called.
wndGridControl.Populate
See Also
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.