Add a checkbox and make a hyperlink on an entry of dataTable
Add a checkbox and make a hyperlink on an entry of dataTable
Hi,
I've come up of a concept to achieve what I am working by using server-side processing, and use
[code]
{"fnRender": function (oObj) {
return "";
},
"aTargets": [0]
},
[/code]
However, if I use the code below to render the second column:
[code]
{"fnRender": function (oObj)
{
return ""+ oObj.aData[1] +', '+ oObj.aData[2] + ' ' + oObj.aData[3] +"";},
"aTargets": [1]
},
[/code]
I am having issue on getting the original value of id field since oObj.aData[0] is returning the rendered value :
[code]
BUSA, MELISSA GUARINO(data from db)
[/code]
All I want to get is the value of the 1st field from the database to assign as the Id of my tag on the 2nd column.
Does any have can give me some inputs here?
I appreciate your inputs.
Thank you very much.
I've come up of a concept to achieve what I am working by using server-side processing, and use
[code]
{"fnRender": function (oObj) {
return "";
},
"aTargets": [0]
},
[/code]
However, if I use the code below to render the second column:
[code]
{"fnRender": function (oObj)
{
return ""+ oObj.aData[1] +', '+ oObj.aData[2] + ' ' + oObj.aData[3] +"";},
"aTargets": [1]
},
[/code]
I am having issue on getting the original value of id field since oObj.aData[0] is returning the rendered value :
[code]
BUSA, MELISSA GUARINO(data from db)
[/code]
All I want to get is the value of the 1st field from the database to assign as the Id of my tag on the 2nd column.
Does any have can give me some inputs here?
I appreciate your inputs.
Thank you very much.
This discussion has been closed.