[]
        
(Showing Draft Content)

C1.Win.FlexGrid.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)
Public Overridable Sub SetUserData(row As Integer, col As Integer, data As Object)
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)
Public Overridable Sub SetUserData(row As Integer, colName As String, data As Object)
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.