Hello,
In my grid , i have a column (xls) with a button
on buttonclick i would like
-append a new div (messagerror-2) on #tabs-5,
-and after click on this new div (messagerror-2) (same problem with #test)
but the $(“#messagerror-2”).click() doesn’t run.
I think all action is doing at the same time, could you help me ? is there a solution ?
Thanks
{ text: 'XLS', datafield: 'Edit', columntype: 'button', enabletooltips: false, cellsrenderer: function () {
return " ";
}, buttonclick: function (row) {
identity= $("#jqxgrid_mmr").jqxGrid('getcellvalue', row, 'PATIDENT'); /*VALUE OF THE FIELD NAME OF THE LINE MODIFIED */;
$("#tabs-5").append('<div id="messagerror-2"><A id=test" HREF="http:'+server_sp+'/Coding/VALDOMED/mmr/mmr_print&indts='+indts+'&product='+product+'&study='+study+'&expltn='+expltn+'&lib='+lib+'&mode=print'+'&patidid='+identity+'">Click here to open patient report</A>');
$("#messagerror-2").click();