Adding Edit/Delete in 1 Column
Adding Edit/Delete in 1 Column
Hi,
I have 3 columns table with Name, phone Number, Operation as the column field. On the Operation column I want to have Edit/Delete text on every row which refer to the id for each record. I have successfully add Edit text with this code:
[code]
"aoColumnDefs": [
{
"fnRender": function ( oObj ) {
return "edit";
},
"aTargets": [ 3 ]
}
[/code]
And now how to add the Delete text? THankx
I have 3 columns table with Name, phone Number, Operation as the column field. On the Operation column I want to have Edit/Delete text on every row which refer to the id for each record. I have successfully add Edit text with this code:
[code]
"aoColumnDefs": [
{
"fnRender": function ( oObj ) {
return "edit";
},
"aTargets": [ 3 ]
}
[/code]
And now how to add the Delete text? THankx
This discussion has been closed.