ASP.NET MVC Controls | ComponentOne
In This Topic
    ISortDescription Interface
    In This Topic
    File
    c1.mvc.collections.js
    Module
    c1.mvc.collections

    Options that describes a sort operation.

    Properties

    Properties

    ascending

    Sort the data by ascending or descending.

    Type
    boolean

    property

    The field name.

    Type
    string

    sortNulls

    Gets or sets a value that determines how null values should be sorted.

    This property is set to Last default, which causes null values to appear last on the sorted collection, regardless of sort direction. This is also the default behavior in Excel.

    Type
    SortNulls

    sortNullsFirst

    Gets or sets a value that determines whether null values should appear first or last when the collection is sorted (regardless of sort direction).

    Type
    boolean