Hi All,
I am new to Fiori application and I am trying drop down help for combo box. Unfortunately this is not working.
When I debugged controller JS, the data reading action is successful but values is not displayed in drop down.
I have constructed my JSON file as provided below,
JSON file:
I have written below code in controller to read data from JSON model in onInit method
I am not able to view the 4 data's mentioned in JSON file in console
I have declared the combo box inside Simple form and its declared as shown below. When I execute the details in Chrome I was not able to view the data in F4 help.
<core:Title text="Rectification" />
<ComboBox id="dpValue" placeholder="Select Priority" selectedKey=""
items="{path: '/Priority',sorter: { path: 'PValue' }}"
width="100%" class="sapUiSmallMarginBottom">
<core:Item key="{PKey}" text="{PValue}" />
</ComboBox>
Thanks in advance.
With Regards,
Arunkumar