Hi All,
Sorting is not working properly for numbers in sap.m.table.
This is the code i have used:
view:
<ObjectNumber id="cell13" number="{oTableData>TotInvValue}" />
controller:
var aSorters = [];
var sPath = mParams.sortItem.getKey();
var bDescending = mParams.sortDescending;
aSorters.push(new sap.ui.model.Sorter(sPath, bDescending));
oBinding.sort(aSorters);
Anything is missing for numbers sorting?
please suggest me.
Thanks & Regards,
Preethi Ande