code: function(ev,args) {
        var target = Event.getTarget(ev);
        var column = this.datatable.getColumn(target);      
        var rowIndex = this.datatable.getTrIndex(target);
        if (column.key == 'delete') {
           if (confirm(msgs.confirmDeletion)) {
              var record = this.datatable.getRecord(target);
              if(this.editingNewRecord) {
                 this.editingNewRecord = false;
              }
              else {
                 this.itemRemovedEvt.fire( record );
              }
              this.datatable.deleteRow(target);
              this.hideSubform();
           }
        }
        else if(column.key == 'modify') {
           this.onClickModify(rowIndex);
        } 
        else {				
        	this.onCellClick(ev,rowIndex);
        }
     }
docs: Handling cell click events