-
Notifications
You must be signed in to change notification settings - Fork 4
Sort
Isaac Olajos edited this page Jan 10, 2024
·
2 revisions
The SORT is a child of Datasources that returns a sorted list based on a set field.
SORT needs all fields to be the specified type expected.
None
| Name | Type | Default | Description | Req |
|---|---|---|---|---|
| field | string | "" | the field name to sort against | ✔ |
| type | string | "string" | The type of the field value to sort on. String, numeric, date, time, datetime | |
| ascending | string | true | To return an ascending or descending sorted list | |
| casesensitive | bool | false | If the string match is case sensitive when comparing. | |
| enabled | bool | "true" | boolean expression to (en/dis)able the datasource |
<FML>
<!-- We used a DATA datasource but any datasource can be used -->
<DATA id="distinctDepartures2">
<SORT field="departureCount" type="numeric"/>
</DATA>
</FML>Framework Markup Language is an open source programming language created by AppDaddy Software Solutions Inc. FML and is licensed under a fair source license agreement and is maintained by a community of developers.
- Quick Start
- Widget Structure
- Layout Basics
- Config
- Navigation
- Authentication
- Server Configuration
- Offline Use
- Resource Guides
-
<FML/>
- <BOX/>
- <CHART/>
- <COLUMN/>
- <DRAWER/>
- <FOOTER/>
- <FORM/>
- <GRID/>
- <HEADER/>
- <LIST/>
- <MAP/>
- <WINDOW/>
- <PAGER/>
- <ROW/>
- <SCROLLER/>
- <SPLITVIEW/>
- <STACK/>
- <TABLE/>
- <TABVIEW/>
- <TREEVIEW/>
- <WEBVIEW/>
Important Concepts