Quantcast
Channel: SCN : All Content - SAPUI5 Developer Center
Viewing all articles
Browse latest Browse all 6178

Create dynamic controls from JSON Response

$
0
0

I have a requirement to create a group of checkbox with lebels in a page from JSON response.

The JSON response is

{

    "data": [

        {

            "CodeStatus": "Red"

        },

        {

            "CodeStatus": "Orange"

        },

        {

            "CodeStatus": "Green"

        },

        {

            "CodeStatus": "Yellow"

        }

    ]

}

 

the  design is:

Capture.PNG

the box is vertically scrollable, as it can have more color codes.

Can anyone suggest how to design the above?

If one can provide the implemantation code, that would be very good as I have very time to implement it.


Viewing all articles
Browse latest Browse all 6178

Latest Images

Trending Articles



Latest Images