on 2019 Jan 08 11:17 AM
Hi SAPUi5 experts,
I am facing one issue while displaying the data in StandardListItem which is bounded in a SelectDialog.
I am getting below data as output of odata read call which is correct (including white spaces in ZzPuom value).

I have set this data into a json model and bounded that to a SelectDialog. But the data is getting displayed with truncating multiple spaces into one.

However, i tried binding the same data to a sap.ui.Table and there i got data displayed including spaces.

Kindly help with your views to get the correct binding in List as well.
Thank you in advance.
Request clarification before answering.
Hi Happy,
this is related to the CSS definition of the control/aggregation. You can fix your issue by adding a custom css class to the listitem template and override the property:
white-space: pre;Regards,
Marius
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 18 | |
| 7 | |
| 6 | |
| 6 | |
| 6 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.