Skip to main content

ApiSort

Represents the ApiSort class.

note

This functionality is available in paid ONLYOFFICE Docs editions.

Properties

NameTypeDescription
HeaderstringReturns the header setting (always "xlYes" for a ListObject).
MatchCasebooleanReturns or sets whether the sort is case-sensitive.
OrientationXlSortOrientationReturns or sets the sort orientation.
ParentApiListObjectReturns the parent list object.
RngApiRange | nullReturns the data body range that the sort applies to.
SortFieldsApiSortFieldsReturns the collection of sort fields.
SortMethodXlSortMethodReturns or sets the sort method for Chinese text.

Methods

MethodReturnsDescription
ApplyNoneApplies the current sort settings to the table.
GetHeaderstringReturns the header setting. Always "xlYes" for a ListObject.
GetMatchCasebooleanReturns whether the sort is case-sensitive.
GetOrientationXlSortOrientationReturns the sort orientation: "xlTopToBottom" or "xlLeftToRight".
GetParentApiListObjectReturns the parent list object.
GetRngApiRange | nullReturns the data body range that the sort applies to.
GetSortFieldsApiSortFieldsReturns the sort fields collection.
GetSortMethodXlSortMethodReturns the sort method: "xlPinYin" or "xlStroke".
SetMatchCaseNoneSets whether the sort is case-sensitive.
SetOrientationNoneSets the sort orientation.
SetSortMethodNoneSets the sort method.