Skip to main content

Таблица DocumentAPI.SortingDirection

В таблице представлены варианты порядка сортировки строк. Используется в методе SortingConditions:add().

ЗначениеОписание
SortingDirection_AscendingСортировка по возрастанию
SortingDirection_DescendingСортировка по убыванию

Пример​


local conditions = DocumentAPI.SortingConditions()
conditions:add(0, DocumentAPI.SortingDirection_Descending)
conditions:add(1, DocumentAPI.SortingDirection_Ascending)