Hello,
My suggestion will be create a custom grid view html/silverlight and then you can implement your requirement easily and in supported manner.
In subgrid, there is no supported way to get selected id, but you can follow this
trick, but not sure how you can disable functionality to open record but surely that won't be supported as well, so creating a custom webresource will be a good option.
HTH
Contact Me
Follow me on Twitter
My Facebook Page
Microsoft Dynamics CRM 2011 Application Design
Make sure to "Vote as Helpful" and "Mark As Answer",if you get answer of your question.