How can I get a data from mData to a link href in "sDefaultContent"?
How can I get a data from mData to a link href in "sDefaultContent"?

How can I get the data "username" to the line : "sDefaultContent" : '<a href="deleteUser?userName= ???
$("#example").dataTable( {
"bProcessing": true,
"bServerSide": true,
"sort": "username",
"sAjaxSource": "userListDataTables.do",
"aoColumns": [
{ "mData": "username" },
{
"mData" : null,
"sClass" : "center",
"sDefaultContent" : '<a href="deleteUser?userName=">Delete</a>'
}
],
} );
This discussion has been closed.