Menu
Download Free Trial
Table of contents

setSort

setSort(hierarchyName:String, sortType:String)

[starting from version: 1.4]

Sets the sort type to the specified hierarchy.

Parameters

  • hierarchyName – String. The name of the hierarchy.
  • sortType – String. The following sorting types can be applied: "asc", "desc", or "unsorted".

Example

flexmonster.setSort("Category", "desc");

See also

getSort
sortValues