[]
        
(Showing Draft Content)

C1.Blazor.Grid.GridColumn.SetCellValue

SetCellValue Method

SetCellValue(GridCellType, GridRow, object)

Sets the value corresponding to the cell in the intersection of the specified row and this column.

Declaration
public virtual void SetCellValue(GridCellType cellType, GridRow row, object value)
Parameters
Type Name Description
GridCellType cellType

The type of cell.

GridRow row

The row that determines the cell.

object value

The value to be set.

SetCellValue(object, object)

Sets the specified value to dataItem property related to this column.

Declaration
public void SetCellValue(object dataItem, object value)
Parameters
Type Name Description
object dataItem

The data item which stores the value.

object value

The value to be set in the data item.