I am using latest version of Cuba Studio (v12.1) and the latest version of Cuba-platform (v7.1.1).
I am not able to sort a table whose dataContainer is bound to composition entities of the Instance entity.
In Entity definition I have specified Collection Type as “List” and am using the following code to sort in onAfterShow event of screen :
dataItemsTable.sort(“dataItemType.sortOrder”, Table.SortDirection.ASCENDING);
The field I am sorting on is not a local field of the composition entity.
Also, are we now able to sort by multiple fields ? Has this been improved in this version of Cuba