on 05-29-2017 10:07 AM
Hi,
I am using some generic tiles ( https://openui5.hana.ondemand.com/explored.html#/entity/sap.m.GenericTile/samples ) to display some KPI-like numbers (some floats, some int, positive and negative).
Independent of what kind of number I pass in the number is always displayed with 4 digits (including the '.' or '-'). This leads to large numbers > 10000 being truncated and numbers with more then 3 decimals to be rounded.
E.g. 12345 shows as 1234, 0.12345 shows as 0.12 and -1234 shows as -123
Is there a way so I can tweak the generic tile to show more then the 4 digits?
Thanks
Jan
Hi Jan Schober ,
Actually this is due to the property truncateValueTo of the sap.m.NumericContent which is defaulted to 4 .. You need to increase this to 5 to show 5 character number.
So its not an issue of generic tile its an issue of the control sap.m.NumericContent
thanks
viplove
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
...<content>
<NumericContent value="{/XYZ/number}" truncateValueTo="6"/>
</content>...
Did the trick - thanks a lot!
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.