ApiSortFields
Represents the ApiSortFields class.
note
This functionality is available in paid ONLYOFFICE Docs editions.
Properties
| Name | Type | Description |
|---|---|---|
| Count | number | Returns the number of sort fields in the collection. |
| Parent | ApiSort | Returns the parent Sort object. |
Methods
| Method | Returns | Description |
|---|---|---|
| Add | ApiSortField | null | Adds a sort field to the collection. |
| Add2 | ApiSortField | null | Adds a sort field with subfield support for linked data types (Stocks, Geography). |
| Clear | None | Removes all sort fields from the collection. |
| GetCount | number | Returns the number of sort fields. |
| GetParent | ApiSort | Returns the parent Sort object. |
| Item | ApiSortField | null | Returns the sort field at the given 1-based index. |