I am using webgrid in my razor view in MVC 3. Below is how my webGrid looks, I want to make the entire row clickable and on click pass values to the javascript method also.
You have to use JQuery to add row click functionality
Add htmlAttributes: new { id="MainTable" } in your webgrid.