title: SAPUI5 table bind action to icon template
body: <p>I am working with an UI5 table. 
  I am reading my oData service and bind the elements to the column:</p>
  
  <pre><code>oTable.addColumn(new sap.ui.table.Column({
      label : new sap.ui.commons.Label({
          text : ""
      }),
      template : new sap.ui.core.Icon({
          src : "{Visible}",
      }),
      width : "55px",
      hAlign : "Center"
  }));
  </code></pre>
  
  <p>{Visible} contains the sap-icon "expand" .. its properly shown in the table.
  How is it possible to bind an event to that icon?</p>
  
  <p>I previously defined an icon separately via</p>
  
  <pre><code>var icon = new sap.ui.core.Icon({
              src : sURI,
          });
  
  icon.attachPress(function(oEvent) {
    var selectedRow = this.getBindingContext().getProperty('myID');
    console.log('Row clicked:' + selectedRow);
  });
  </code></pre>
  
  <p>but like this i cannot add my odata element {visible} to the column, because this has to be read in the addColumn-method, otherwise binding does not work.</p>
  
  <p>Anybody some help on this?</p>