Skip to Content
0
Former Member
May 30, 2014 at 02:01 PM

Create dynamic controls from JSON Response

129 Views

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:

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.

Attachments

Capture.PNG (1.6 kB)