[]
        
(Showing Draft Content)

C1.Win.TrueDBGrid.C1TrueDBGrid.RefetchRow

RefetchRow Method

RefetchRow()

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

Declaration
public void RefetchRow()
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.

RefetchRow(int)

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

Declaration
public void RefetchRow(int row)
Parameters
Type Name Description
int row

The row to refetch.

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.