title: crm 2011 Subgrid record selected/OnFocus Event
body: <p>I have a subgrid on my contact entity.</p>
  
  <p><img src="https://i.stack.imgur.com/JzwH8.png" alt="This is image"></p>
  
  <p>I want that when the first record is selected in the subgrid above buttons enables and
  disables on uncheck.</p>
  
  <p>I know how to enable diable button but i dont know where/how to call my function.</p>