Get Free Trial
API reference
Table of contents

getSort

getSort(uniqueName: String): String

[starting from version: 1.4]

Returns the sort type which is applied to the hierarchy.

Parameters

  • uniqueName – String. The hierarchy’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
Custom sorting guide