Using if

Dear DHTMLX team,

I’m tryng to use if in my grid, but I have some doubts. How can I make something like this:

if(confirm(‘Confirm delete’)==true)window.location=‘

In a regular code, it should appear like this:


Is this possbile? How can I use the “if” correctly?

Thank you.

Any idea?

Unfortunately it’s not clear what is the function of dhtmlx-component here.
You may try to use “link” excell with the javascript function which should make a confirm.