[]
        
(Showing Draft Content)

C1.Win.C1FlexGrid.C1FlexGridBase.SetUserData

SetUserData Method

SetUserData(int, int, object)

Assigns user data to a cell.

Declaration
public virtual void SetUserData(int row, int col, object data)
Parameters
Type Name Description
int row

Row index.

int col

Column index.

object data

User data to assign to the cell.

Remarks

The user data is not used internally by the grid. It is reserved for additional data that you may want to associate with a cell.

SetUserData(int, string, object)

Assigns user data to a cell.

Declaration
public virtual void SetUserData(int row, string colName, object data)
Parameters
Type Name Description
int row

Row index.

string colName

Column name.

object data

User data to assign to the cell.

Remarks

The user data is not used internally by the grid. It is reserved for additional data that you may want to associate with a cell.