cancel
Showing results for 
Search instead for 
Did you mean: 

Sorting on frament.xml in fiori UI5

poojarychetan
Explorer
0 Kudos

I have a display of column where one of the column is "UoM" and i see that the list has undefined sort order.

As seen in the screen shot, in coumn UoM I prefer BDL should show first , then PC and then CAR that should sysnc with the OData.

Can we add the sort code in fragment.xml ?

</Column>
<Column id="auomColumn" >
<Text text="AUoM" id="auomColumnTitle" type="sort"/>
<sortItems>
<SortItem columnKey="auomColumnTitle" />
</sortItems>

</Column>

This does not work , what will be the right function for Fragment.xml ?

Thanks,

Chetan.sortorder.jpg

Accepted Solutions (0)

Answers (0)