Skip to content

Instantly share code, notes, and snippets.

@agapiospanos
Created April 26, 2019 06:21
Show Gist options
  • Save agapiospanos/e83a282888c95969ae18ec3fb3707e9b to your computer and use it in GitHub Desktop.
Save agapiospanos/e83a282888c95969ae18ec3fb3707e9b to your computer and use it in GitHub Desktop.
KTDatatable Problem with href javascript
columns: [
{
field: 'Actions',
width: 110,
title: 'Ενέργειες',
sortable: false,
overflow: 'visible',
template: function(row) {
return '\
<a href="javascript:alert('+row.id+');" onclick="javascript:alert('+row.id+');" data-user-id="'+ row.id +'" class="showQR btn btn-sm btn-clean btn-icon btn-icon-sm" title="QR Code">\
<i class="la la-qrcode"></i>\
</a>\
';
},
}
]
@cs12b015
Copy link

Hi Did u find solution to it??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment