[]
        
(Showing Draft Content)

C1.Web.Mvc.Fluent.DataMapBuilder.SortByDisplayValues

SortByDisplayValues Method

SortByDisplayValues(bool)

Configurates SortByDisplayValues. Sets a value that determines whether to use mapped (display) or raw values when sorting the data. The default value is false.

Declaration
public DataMapBuilder SortByDisplayValues(bool value)
Parameters
Type Name Description
bool value

The value.

Returns
Type Description
DataMapBuilder

Current builder.

Remarks

The default is false. Setting to true makes the column be sortted with the mapped display values. If the grid is in remote bind mode, need passing the dataMapItemsSourceGetter argument on calling the CollectionViewHelper.Read() method.