getSortDirection

open fun getSortDirection(): Int

Gets the sort direction applied to the data associated with this node.

This item can only be set on a heading node within a table collection. Given the heading node's collection item, a subsequent collection item uses this sort direction if it has the same row or column index, and a greater index in the other dimension. For example, an item at row 2, column 2 can reference a heading at row 2, column 1 for its sort direction.

Compatibility:

  • API <36.1: Always returns SORT_DIRECTION_NONE

Return

The current sort direction.