ComponentOne ASP.NET MVC Controls
SortByDisplayValues Method

C1.Web.Mvc.Fluent Namespace > DataMapBuilder Class : SortByDisplayValues Method
The value.
Configurates C1.Web.Mvc.DataMap.SortByDisplayValues. Sets a value that determines whether to use mapped (display) or raw values when sorting the data. The default value is false.
Syntax
'Declaration
 
Public Function SortByDisplayValues( _
   ByVal value As Boolean _
) As DataMapBuilder
public DataMapBuilder SortByDisplayValues( 
   bool value
)

Parameters

value
The value.

Return Value

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.
See Also

Reference

DataMapBuilder Class
DataMapBuilder Members