how to assign values in column type as radio and call a function while dynamic cration of table

how to assign values in column type as radio and call a function while dynamic cration of table

shmsrpcshmsrpc Posts: 4Questions: 0Answers: 0
edited June 2013 in General
i have a dynamically created table ,first column is a radio button.i need to assign values to radio button and pass it to function .how to save values..?
here is my sample code
function getValues(data){
if(data != ""){

$('#example').dataTable( {
"aaData": data,
"aoColumns": [
{ "sTitle": "H1", "sClass": "center" ,"fnRender": function(oObj) {
return "";
}},
{ "sTitle": "H2", "sClass": "center" },
{ "sTitle": "H3", "sClass": "center" },
{ "sTitle": "H4", "sClass": "center" },
{ "sTitle": "H5", "sClass": "center"}
],

"sScrollY": 200,
"bJQueryUI": true,
"sPaginationType": "full_numbers"
} );

}else{
alert("No data");
}
}
This discussion has been closed.