Firing action from tree grid views

So the Office Connector now is up and running and I've modified the code for the Open in Office action to also function from relationship items. Some time ago I also implemented a tree grid view that allows the user to navigate to documents through a system breakdown structure via the main grid. Seeing as it'd be a nice timesaver if users didn't have to open the document item before being able to use the Open in Office action, how would I have to go about adding that action to the tree grid view? I'll either have to be able to retrieve a relationship item that has a Document item as its related ID or to retrieve the ID of the Document displayed on the row the user rightclicks on.
Parents Reply Children
No Data