This question is locked. New answers and comments are not allowed.
hi,
i have a little problem with the Grid.
i need to add a button "Save and Continue" on the insert popup.
I have succeeded to add the button in my EditTemplate like this :
I have succeeded to do the insert action like this in my gridview :
i have succeeded to reopen the "Insert popup" when i do $("t-grid-add").trigger("click") after "t-grid-insert" but at the reopen buttons "Insert", "cancel", "x" doesn't work anymore and if i reclick on "Save & continue" i show 2 insert popup and this time all button doesn't work.
If someone to do something like this or can have a idéa can help me.
Regards.
i have a little problem with the Grid.
i need to add a button "Save and Continue" on the insert popup.
I have succeeded to add the button in my EditTemplate like this :
<a href="#" class="t-button t-button-icontext t-grid-continue"><span class="t-icon t-insert"></span>Save & Continue</a>I have succeeded to do the insert action like this in my gridview :
function onEdit(e) { var dataItem = e.dataItem; if (dataItem.b_id == "0") { $(".t-grid-continue").on("click", function () { $(this).parent().children(".t-grid-insert").trigger("click"); }); }}i have succeeded to reopen the "Insert popup" when i do $("t-grid-add").trigger("click") after "t-grid-insert" but at the reopen buttons "Insert", "cancel", "x" doesn't work anymore and if i reclick on "Save & continue" i show 2 insert popup and this time all button doesn't work.
If someone to do something like this or can have a idéa can help me.
Regards.