ComponentOne List 8.0 for ActiveX
RefetchCell Method

 

True DBList Reference> TDBList Methods> RefetchCell Method

RefetchCell Method

The RefetchCell method repopulates the specified cell from a data source control and/or unbound events.

Syntax

column.RefetchCell [bookmark]

Arguments

bookmark is an optional variant that specifies the row containing the cell to refetch. If not specified, the current row is assumed. If specified, it must be a valid bookmark.

Return Value

None

Remarks

Method applies to Column object.

It also repaints the cell, firing all events necessary for redisplay.

By default, the control retrieves data automatically as needed. It fetches rows in blocks of ten, and only gathers data for visible columns. However, in some cases, you can improve performance by fetching only the data for a single (changed) cell. The RefetchCell method is provided for this purpose.

Note: The RefetchCell method does not force the data source control to refresh its own data from the underlying database. You must use data control methods or options to accomplish this.

See Also

Column Object, Columns Collection

 

 


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

Product Support Forum  |  Documentation Feedback