ComponentOne True DBGrid for .NET (2.0) Search HelpCentral 

C1TrueDBGrid.RefetchRow Method ()

Retreives data from the datasource for the current row and refreshes the row.

[Visual Basic]

Overloads Public Sub RefetchRow()

[C#]

public void RefetchRow()

[Delphi]

public procedure RefetchRow(); overload;

Remarks

The RefetchRow method repopulates the specified row from a data source. It also repaints the row, firing all events necessary for redisplay.

By default, the grid retrieves data automatically as needed. In some circumstances, the underlying datasource may change without the grid receiving notification that a change has occurred. The RefetchRow method is provided for this purpose.

Example

The following code repopulates the current row:

·      Visual Basic

       Me.C1TrueDBGrid1.RefetchRow()

·      C#

       this.c1TrueDBGrid1.RefetchRow();

·      Delphi

       Self.C1TrueDBGrid1.RefetchRow;

See Also

C1TrueDBGrid Class | C1TrueDBGrid Members | C1.Win.C1TrueDBGrid Namespace | C1TrueDBGrid.RefetchRow Overload List


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