How can we set the checkbox based on Json data?

How can we set the checkbox based on Json data?

nakatanakata Posts: 7Questions: 0Answers: 0
edited September 2013 in General
Good day,

If I have the Json object as below, how can i set the checkbox with the return value? I'm using following code

[code]

var oTable = $('#mytable').datatable({
"bProcessing" : true,
"sAjaxSource" : "myinput.txt"
"aoColumns" : [
{"mdata": "Selection"},
{"mdata": "Server_Name"},
]
})


[/code]


[code]
{
"aaData":[
{
"Selection":"true",
"Server_Name" " "server1"
}

]
}

[/code]
This discussion has been closed.