ComponentOne True DBGrid for .NET (2.0) Search HelpCentral 

C1DataColumn.RefetchCell Method ()

Repopulates the current cell from the data source.

[Visual Basic]

Overloads Public Sub RefetchCell()

[C#]

public void RefetchCell()

[Delphi]

public procedure RefetchCell(); overload;

Remarks

The RefetchCell method repopulates the specified cell from a data source control and/or unbound events. It also repaints the cell, firing all events necessary for redisplay.

By default, the grid retrieves data automatically as needed. The RefetchCell method is provided for this purpose.

Example

The following code repopulates the current cell:

·      Visual Basic

       Me.C1TrueDBGrid1.Columns(0).RefetchCell()

·      C#

       this.c1TrueDBGrid1.Columns[0].RefetchCell();

·      Delphi

       Self.C1TrueDBGrid1.Columns[0].RefetchCell;

See Also

C1DataColumn Class | C1DataColumn Members | C1.Win.C1TrueDBGrid Namespace | C1DataColumn.RefetchCell Overload List


Send comments about this topic to ComponentOne.
Copyright © ComponentOne LLC. All rights reserved.