Adding custom column to back end view with action
So I've successfully added a column ("Clone Document") to the back end view of the document listings (see attached screenshot) by adding a CommandColumnElement in the back end -> Libraries -> Controls ->Document Backend -> Views -> Documents BackEndList -> ViewModes -> Grids -> Columns.
I need to know how I can perform some action on the click event of that added linked though. For example, when the link is clicked I need to send the user to a specific URL that passes the document ID as a query string. Is this possible? If so, how can it be done?
I can't find any documentation that helps tell me how to do this. I have looked at the following, but none seem to highlight what I want to do:
www.sitefinity.com/.../extending_the_built-in_content_modules
www.sitefinity.com/.../extend-the-sitefinity-back-end-forms-grid-and-include-an-action-to-display-subscribers
It turns out that the bottom portion of this blog page worked as you can use Javascript to catch the command click in the same way. www.sitefinity.com/.../extending_the_built-in_content_modules