Need a special offer?Find out if your project fits.
+
All documentation
API reference
  • API Reference for older versions
  • getSort

    getSort(uniqueName: String): String

    [starting from version: 1.4]

    Returns the sort type which is applied to a field.

    Parameters

    Parameter/Type Description
    uniqueName
    String
    The field's unique name.

    Returns

    One of the following sort types: 'asc', 'desc', or 'unsorted'.

    Example

    flexmonster.getSort("Category");

    Open the example on JSFiddle.

    See also

    setSort
    sortingMethod
    sortValues
    Sorting