Suppressing a Kendo UI Grid selectable event when clicking a link within a cell
Posted
by
Jensen Ching
on Stack Overflow
See other posts from Stack Overflow
or by Jensen Ching
Published on 2012-10-05T03:17:19Z
Indexed on
2012/10/05
3:37 UTC
Read the original article
Hit count: 386
I have a Kendo grid that has links, which I also set to selectable, snippet here:
columns: [{
field: 'link', title: 'Link',
template: '<a href="${link}">Click Here</a>'
}],
...
selectable: 'row',
change: function(e) {
var rowUid = this.select().data('uid');
rowDs = this.dataSource.getByUid(rowUid);
console.log('Went (1): ' + rowDs);
return false;
}
When I click on the external link <a>
, I also select the row. Is there any way to suppress the selectable event?
© Stack Overflow or respective owner