Creates a value of type SortInfo for use with grids and record queries.
a!sortInfo( field, ascending )
false
, which means descending.SortInfo
Sorting is only supported for complex data types and is not supported for a dictionary array.
You can copy and paste these examples into the Expression Rule Designer to see how this works.
1
2
3
4
=a!sortInfo(
field: "name",
ascending: true()
)
returns
[field=name, ascending=true]
a!pagingInfo(): Use the a!sortInfo()
function to create a value for the sort
parameter of this function.
SortInfo: This is the data type the a!sortInfo()
function returns.
Read-Only Grid: Use the a!sortInfo()
function to sort the data for a grid component on an interface.