title: Detect user inserting row or column in a google spreadsheet and reacting in a script
body: <p>In Google Apps Script, one of the basic tools is the onEdit trigger in a spreadsheet, which enables us to detect when a user edits a cell, and react to it.</p>
  
  <p>How about when a user inserts a row or column ? Is there a way to detect that ? </p>
  
  <p>Would that trigger an onEdit ? If so, I guess maintaining in the ScriptDb a count of the number of rows or column, and then checking each time would do, but would be very time costly, since getMaxRows() is already pretty slow, and reaching out to ScriptDb is as well.</p>
  
  <p>What do you think ?</p>