title: How can i make a click on row in a table to call controller action?
body: <p>I am new to grails. I have started it with a small application.I am not getting how to make a click on row to call controller action.</p>
  
  <p>I tried the following with no success:</p>
  
  <pre><code>&lt;tr onmouseover="ChangeColor(this, true);" 
       onmouseout="ChangeColor(this, false);" 
       onclick="${remoteFuction(action: 'modify', id: address.id)}"/&gt;
  
  &lt;tr onmouseover="ChangeColor(this, true);" 
       onmouseout="ChangeColor(this, false);"
       onclick="&lt;g:remoteFunction action='modify' id='${address.id}'/&gt;"&gt;
  
  &lt;/tr&gt;
  </code></pre>
  
  <p>Is there any solution exist for this issue in grails?</p>