title: How to get data from a checkbox selection?
body: <p>I'm using AG-grid with checkbox selection and multiple rows selections.
  I don't understand how to get data from a checkbox selection as the <code>rowClicked</code> event doesn't trigger on checkbox selection.</p>
  
  <p><a href="https://i.stack.imgur.com/ND14A.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ND14A.png" alt="enter image description here"></a></p>
  
  <p>This is my table. When clicking on checkbox header, it selects every row. I can also select each individual row and multi select them. I want to perform an action on selected rows but have some hard time doing so.</p>
  
  <p>First, I cannot manage to grab the event that is triggered when using the checkbox selection. I currently only use <code>rowClicked</code> that is triggered when I click on a row. On rowClicked, I push the current row to an array. But I can't manage to properly remove the row from the array when deselecting the row.</p>
  
  <ol>
  <li>How can I manage to get checkbox clicked event?</li>
  <li>Is there a built-in system that lets me perform an action on the rows I clicked/checked? If not, what is the solution?</li>
  </ol>
  
  <p>Thanks</p>