[]
        
(Showing Draft Content)

C1.Web.Mvc.Fluent.ColumnBaseBuilder-2.DataMap

DataMap Method

DataMap(Action<DataMapBuilder>)

Configurates DataMap. Sets the DataMap used to convert raw values into display values for the column.

Declaration
public TBuilder DataMap(Action<DataMapBuilder> build)
Parameters
Type Name Description
Action<DataMapBuilder> build

The builder function.

Returns
Type Description
TBuilder

Current builder.

Remarks

The drop-down buttons are shown only if the column has a DataMap set and is editable. Clicking on the drop-down buttons causes the grid to show a list where users can select the value for the cell.