Page 1 of 1

Cell Information by right click (Javascript?)

PostPosted: 14 Feb 2019 13:38
by mpecere
Is it possible to get Information (cellrow and cellcol) with Javascrtip wehere my right click over a cell was happen.
How can i save it in a Delphi var?

I wrote a procedure that insert Data from the clipboard into the grid. I want to do this with a Contextmenu. The insert should be happen at the Cell where i did my right click!

I have seen, that every row "<tr>" has a ID.

How is it possible in general to save a return value from a javascript function in a Delphi var by using the Property "Script"?

i am looking forward to get some solution suggestion

Re: Cell Information by right click (Javascript?)

PostPosted: 22 Feb 2019 16:00
by Alexander Bulei
Hi mpecere,

Is it possible to get Information (cellrow and cellcol) with Javascrtip wehere my right click over a cell was happen.
How can i save it in a Delphi var?

I wrote a procedure that insert Data from the clipboard into the grid. I want to do this with a Contextmenu. The insert should be happen at the Cell where i did my right click!

I have seen, that every row "<tr>" has a ID.


Check attached demo.
Basically, used the BrowserParams of Callback event...

How is it possible in general to save a return value from a javascript function in a Delphi var by using the Property "Script"?


What do you mean?

Best Regards.