CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

Cell Information by right click (Javascript?)

by mpecere » 14 Feb 2019 13:38

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
mpecere
 
Posts: 9
Joined: 27 Nov 2018 18:49

by Alexander Bulei » 22 Feb 2019 16:00

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.
You do not have the required permissions to view the files attached to this post.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal


Return to JQGrid

cron

Who is online

Users browsing this forum: No registered users and 2 guests

Contact Us.