Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 8800

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 8800


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