I have below questions on Table sorting:
- If i have a table that need to be sorted by more than 1 column, is this possible? As i understand, only 1 column can be clicked for sortable Table.
- If i have a Table sorted by a single column, new row is always added to the bottom of the list. Is this normal? I was expecting the row to be inserted in right sorted position.
- I tried the @OrderBy to order the elements in the List collection attribute of the entity but the table edit action creates some strange result in the sorting of the Table rows. Row edited will sometimes get moved to the bottom of the list and it’s unpredictable.
Testing is done on the sample Sales app, Order and OrderLine entities with 1-To-Many composition.
I don’t understand fully the Table sorting behaviour and can’t find any detailed description. Hope someone can help provide explanation to my queries above. Thanks.