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






In This Topic
    SortByDisplayValues Property (DataMap)
    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
     
    
    <System.ComponentModel.DefaultValueAttribute(False)>
    Public Property SortByDisplayValues As System.Boolean
    'Usage
     
    
    Dim instance As DataMap
    Dim value As System.Boolean
     
    instance.SortByDisplayValues = value
     
    value = instance.SortByDisplayValues
    [System.ComponentModel.DefaultValue(false)]
    public System.bool SortByDisplayValues {get; set;}
    public read-write property SortByDisplayValues: System.Boolean; 
    System.ComponentModel.DefaultValueAttribute()
    public function get,set SortByDisplayValues : System.boolean
    [System.ComponentModel.DefaultValue(false)]
    public: __property System.bool get_SortByDisplayValues();
    public: __property void set_SortByDisplayValues( 
       System.bool value
    );
    [System.ComponentModel.DefaultValue(false)]
    public:
    property System.bool SortByDisplayValues {
       System.bool get();
       void set (    System.bool value);
    }
    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