Can't filter Edm.Decimal in sap.ui.table.Table
See original GitHub issueOpenUI5 version: 1.48.5
Browser/version (+device/version): Chrome Version 60.0.3112.101 Windows 7
Any other tested browsers/devices(OK/FAIL): Not yet
Steps to reproduce the problem:
Using: sap.ui.table.Table
XML:
<table:Column app:persoKey="Delivery-Column-Quantity" hAlign="End" sortProperty="Quantity" filterProperty="Quantity" width="10%">
<Label text="{i18n>delivery.content.table.column.qty}"/>
<table:template>
<Text text="{Quantity}"/>
</table:template>
</table:Column>
Using oData to get the values from the Backend via a callFunction
. The entityset in the SEGW of the SAP Netweaver backend looks like:
What is the expected result? Values will be filtered correctly.
What happens instead?
Javascript not handled exception will be thrown in the console when I want to filter a colum:
Any other information? (attach screenshot if possible)
If you want I can try to reproduce it on codepen for example, but It should be very complicated, because the problem is that the type from the backend (Edm.Decimal) will be converted into an string in javascript. Maybe this is the problem?
Issue Analytics
- State:
- Created 6 years ago
- Comments:17 (17 by maintainers)
Indeed it should - I just verified that operation mode “Client” is working correctly.
Oh, okay. Issue seems to be fixed now. We also used an real OData v2 service 1 year ago. Thanks!