CustomSort
A column sorted in a fixed order instead of the normal comparison.
ColumnId is the column. SortedValues is the order: listed values come first, in that order, and any other value sorts after them. Date values are stored as ISO dates (yyyy-MM-dd). Suspend with IsSuspended.
TypeScript
export interface CustomSort extendsExtends
Properties
| Property | Type | Description |
|---|---|---|
| ColumnId | string | Id of Column on which Custom Sort will be applied |
| Name | string | Name of the Custom Sort definition |
| SortedValues | (string | number)[] | Sort order. Listed values come first, in this order. Any other value sorts after them. Dates are stored as ISO strings (yyyy-MM-dd). |
| IsReadOnly | boolean | Sets Entity to ReadOnly (overwriting a Strategy Entitlement of 'Full') |
| IsSuspended | boolean | Suspends (i.e. turns off) an Adaptable Object |
Property Details
ColumnId
Id of Column on which Custom Sort will be applied
TypeScript
ColumnId: string;Property Value
string
Name
Name of the Custom Sort definition
TypeScript
Name: string;Property Value
string
SortedValues
Sort order. Listed values come first, in this order. Any other value sorts after them. Dates are stored as ISO strings (yyyy-MM-dd).
TypeScript
SortedValues?: (string | number)[];Property Value
(string | number)[]
IsSuspended
Inherited from SuspendableObject
Suspends (i.e. turns off) an Adaptable Object
TypeScript
IsSuspended?: boolean;Property Value
boolean
IsReadOnly
Inherited from AdaptableObject
Sets Entity to ReadOnly (overwriting a Strategy Entitlement of 'Full')
TypeScript
IsReadOnly?: boolean;Property Value
boolean