I have a button in which I don't want to use the alert box for a confirmation and I intend to use a jquery modal window for but I can't seem to get it to work.
$('#grid').kendoGrid({
...
editable: { confirmation:false, mode:'popup' } // this turns off the delete confirmation alert but allows popups
...
});
I've tried adding a click event inside the grid script and outside, but nothing is triggering the event.
As a test, I used the 'a' tag but nothing is working yet.
$('a').click(function(e){
e.preventDefault();
e.stopPropagation();
var title = '<span class="warning">Warning</span>';
$.get('/main/test'), function(data){
test(data, modal.large, title);
});
});
I'd use a custom kendotemplate but I am using a custom jquery modal instead and I can't seem to trigger it.