TreeViewColumn.getSortColumnId

Gets the logical sort_column_id that the model sorts on when this column is selected for sorting. See TreeView.columnSetSortColumnId.

class TreeViewColumn
int
getSortColumnId
()

Return Value

Type: int

the current sort_column_id for this column, or -1 if this column can’t be used for sorting.