How to tell UI Designer how to sort items in a collection
1 answer
Hi,
You can sort your collection by doing a Javascript expression and use the array sort function https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global...
In javascript expression you can access to your collection defined as variable with $data:
Otherwise, you can sort your data on backend side by using BDM custom queries and associated REST API http://documentation.bonitasoft.com/business-data-model#queries
http://documentation.bonitasoft.com/bdm-api-0#businessdataquery