code: function(ev,args) {
        var target = Event.getTarget(ev);
        var column = this.datatable.getColumn(target);      
        var rowIndex = this.datatable.getTrIndex(target);
        var record = this.datatable.getRecord(target);
  
        if (column.key == 'delete') {
  			this.onRemoveItem(record,target);	
        }
        else {				
        	this.onCellClick(ev,rowIndex);
        }
     }
docs: Handling cell click events