ASP.NET MVC Controls | ComponentOne
C1.Web.Mvc Namespace / DataMap Class / SortByDisplayValues Property

In This Topic
    SortByDisplayValues Property
    In This Topic
    Gets or sets a value that determines whether to use mapped (display) or raw values when sorting the data. The default value is false.
    Syntax
    'Declaration
     
    
    <DefaultValueAttribute(False)>
    Public Property SortByDisplayValues As Boolean
    [DefaultValue(false)]
    public bool SortByDisplayValues {get; set;}
    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