By the end of this section you will be able to:
- Set a default sort order on a stream view
Find the Stream for this exercise:
- Open the model
Dashboards and Forms 01-08: Views, filters and dashboards
- Open the stream configuration form for
Overall Debt Levels
, and go to the Sort Orders section - Add a sort order:
- Press
- Name:
PaymentMeans,DebtLevel
- Press Apply
- Press - Show Stream Attributes
- Add
PaymentMeans
to the list of sorting attributes - Leave this as ascending
- Add
DebtLevel
to the list of sorting attributes - Update this to descending - click on the triangle, it will reverse direction
- Press to save the sort order
- Open the dashboard
Overall Debt Levels
- Open the configuration form for the view
Overall Debt Levels
- Set this as the Default Sort Order
- Press to save your changes
- Go into App mode to see the results
Add a further sort order to the stream:
- Name:
PaymentMeans,CalculationDate
- Sort by
PaymentMeans
(ascending),CalculationDate
(ascending)
You will use this sort order in the next exercise.
In PhixFlow, any saved sort order used on a view on a stream can be used on any other view defined on that stream. |