adds onCellClick
updates event example and click handler