- 'columnDefs': [
- {
- targets: 2,
- render: function (data, type, row, meta) {
- if (type === 'display') {
- data = '<a href="/TicketTemplate/AppDetails/' + data["Id"] + '">' + data + '</a>';
- }
-
- return data;
- }
- }
- ],
How do i pass the row value on id.
i.e. pass like <a href="/TicketTemplate/AppDetails/@itm.Id">@itm.Title</a>
on anchor tag click.
how do i get the id??
Here is the total code of datatable: