ComponentOne True DBGrid for .NET (2.0) Search HelpCentral 

C1DataColumn.RefetchCell Method (Int32)

Repopulates the specified data from the data source.

[Visual Basic]

Overloads Public Sub RefetchCell( _

ByVal row As Integer _

)

[C#]

public void RefetchCell(

int row

);

[Delphi]

public procedure RefetchCell(

row: Int32

); overload;

Parameters

row

The row to refetch.

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 4th row:

·      Visual Basic

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

·      C#

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

·      Delphi

       Self.C1TrueDBGrid1.Columns[0].RefetchCell(3);

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.