Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Design Studio SDK UI5 Table - Decimal formatting applied to all dynamically-loaded numerical data #160

Open
ephraimrosenfeld opened this issue Mar 27, 2017 · 0 comments

Comments

@ephraimrosenfeld
Copy link

Expected Behavior
When using the Design Studio SDK UI5 Table component, discrete, integer values (e.g. '1' vs. '1.01') should not have decimal formatting.

Actual Behavior
The UI5 Table component works fine for static data, such as data defined in the 'Properties' panel of the BYO Data Source component.

However, when data is added to the data-source dynamically, all numeric values, whether they are discrete integers or floating-point numbers, appear with decimal formatting (e.g. '#.00').

Steps to reproduce
In the attached exported Design Studio application, TestNonDecimalsSDKUI5Table-20170327092945.zip, there are two tables, both feeding off of different BYO data sources. The first uses a static set of data defined in the 'Properties' panel of the data-source.

The second, has its data loaded dynamically in the onStartup() event of the application:
DS_2.addRow("Grocery,Juice", "100,1");
Its integer data appears with decimal formatting, even when such formatting is inappropriate:
ui5_table_decimalsfordynamicallygenerateddata

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant