[]
        
(Showing Draft Content)

C1.Win.FlexGrid.C1FlexGridBase.SetDataEdit

SetDataEdit Method

SetDataEdit(int, int, object, bool)

Assigns a value to a grid cell, optionally coercing the value into the cell's specified data type.

Declaration
protected virtual bool SetDataEdit(int row, int col, object data, bool coerce)
Protected Overridable Function SetDataEdit(row As Integer, col As Integer, data As Object, coerce As Boolean) As Boolean
Parameters
Type Name Description
int row

Row index.

int col

Column index.

object data

Data to be applied to the cell.

bool coerce

Whether to coerce the value into the cell's specified data type.

Returns
Type Description
bool

True if the value was assigned to the cell, False otherwise.