getSort(hierarchyName: String): String
[starting from version: 1.4]
Returns the sort type which is applied to the hierarchy.
Parameters
hierarchyName
– String. The name of the hierarchy.Returns
One of the following sort types: 'asc'
, 'desc'
, or 'unsorted'
.
Example
flexmonster.getSort("Category");
Open the example on JSFiddle.
See also