This is a migrated thread and some comments may be shown as answers.

Custom Modal

0 Answers 17 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Keith
Top achievements
Rank 1
Keith asked on 17 Oct 2016, 04:01 PM

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.

No answers yet. Maybe you can help?

Tags
Editor
Asked by
Keith
Top achievements
Rank 1
Share this question
or