Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3019

Fiori JSON DropDown Help Issue in Combobox

$
0
0

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:

Capture.JPG

I have written below code in controller to read data from JSON model in onInit method

Capture.JPG

I am not able to view the 4 data's mentioned in JSON file in console

Capture.JPG

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


Viewing all articles
Browse latest Browse all 3019

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>