How to give onclick event for admin grid action link

Did arcade monitors have same pixel aspect ratio as TV sets?

photorec photo recovery software not seeing my mounted filesystem - trying to use photorec to recover lost jpegs

What happens if you are holding an Iron Flask with a demon inside and walk into an Antimagic Field?

What is Cash Advance APR?

Why does the Sun have different day lengths, but not the gas giants?

Plot of a tornado-shaped surface

Can a stoichiometric mixture of oxygen and methane exist as a liquid at standard pressure and some (low) temperature?

Does an advisor owe his/her student anything? Will an advisor keep a PhD student only out of pity?

How does a computer interpret real numbers?

What does "Scientists rise up against statistical significance" mean? (Comment in Nature)

Temporarily disable WLAN internet access for children, but allow it for adults

Why "had" in "[something] we would have made had we used [something]"?

Can I visit Japan without a visa?

Keeping a ball lost forever

The IT department bottlenecks progress. How should I handle this?

Why Shazam when there is already Superman?

Is this toilet slogan correct usage of the English language?

What should you do when eye contact makes your subordinate uncomfortable?

Why does AES have exactly 10 rounds for a 128-bit key, 12 for 192 bits and 14 for a 256-bit key size?

It grows, but water kills it

Moving brute-force search to FPGA

Does malloc reserve more space while allocating memory?

How does the math work for Perception checks?

What are the advantages of simplicial model categories over non-simplicial ones?



How to give onclick event for admin grid action link














0















I have a custom admin grid for return items. For which I need to add a popup to add a comment for every action below



admin grid action



I have written a js function for the modal popup. But I am unable to trigger onclick event for action links.
I have tried below code in UI action file, it is not working.



code tried



Many thanks in advance.









share







New contributor




sushanth is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

























    0















    I have a custom admin grid for return items. For which I need to add a popup to add a comment for every action below



    admin grid action



    I have written a js function for the modal popup. But I am unable to trigger onclick event for action links.
    I have tried below code in UI action file, it is not working.



    code tried



    Many thanks in advance.









    share







    New contributor




    sushanth is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.























      0












      0








      0


      1






      I have a custom admin grid for return items. For which I need to add a popup to add a comment for every action below



      admin grid action



      I have written a js function for the modal popup. But I am unable to trigger onclick event for action links.
      I have tried below code in UI action file, it is not working.



      code tried



      Many thanks in advance.









      share







      New contributor




      sushanth is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.












      I have a custom admin grid for return items. For which I need to add a popup to add a comment for every action below



      admin grid action



      I have written a js function for the modal popup. But I am unable to trigger onclick event for action links.
      I have tried below code in UI action file, it is not working.



      code tried



      Many thanks in advance.







      admin grid magento2.2.6 action





      share







      New contributor




      sushanth is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.










      share







      New contributor




      sushanth is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      share



      share






      New contributor




      sushanth is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 3 mins ago









      sushanthsushanth

      1




      1




      New contributor




      sushanth is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      sushanth is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      sushanth is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          0






          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "479"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });






          sushanth is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f267077%2fhow-to-give-onclick-event-for-admin-grid-action-link%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          sushanth is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          sushanth is a new contributor. Be nice, and check out our Code of Conduct.













          sushanth is a new contributor. Be nice, and check out our Code of Conduct.












          sushanth is a new contributor. Be nice, and check out our Code of Conduct.
















          Thanks for contributing an answer to Magento Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f267077%2fhow-to-give-onclick-event-for-admin-grid-action-link%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          “%fieldName is a required field.”, in Magento2 REST API Call for GET Method Type The Next...

          How to change City field to a dropdown in Checkout step Magento 2Magento 2 : How to change UI field(s)...

          變成蝙蝠會怎樣? 參考資料 外部連結 导航菜单Thomas Nagel, "What is it like to be a...