code: function(cellIndex) {
  
          var cell = this.cells[cellIndex],
              cellDate = this.cellDates[cellIndex],
              dCellDate = this._toDate(cellDate),
              selectable = Dom.hasClass(cell, this.Style.CSS_CELL_SELECTABLE);
  
  
          if (selectable) {
      
              this.beforeSelectEvent.fire();
      
              var cfgSelected = DEF_CFG.SELECTED.key;
              var selected = this.cfg.getProperty(cfgSelected);
      
              var selectDate = cellDate.concat();
      
              if (this._indexOfSelectedFieldArray(selectDate) == -1) {
                  selected[selected.length] = selectDate;
              }
              if (this.parent) {
                  this.parent.cfg.setProperty(cfgSelected, selected);
              } else {
                  this.cfg.setProperty(cfgSelected, selected);
              }
              this.renderCellStyleSelected(dCellDate,cell);
              this.selectEvent.fire([selectDate]);
      
              this.doCellMouseOut.call(cell, null, this);  
          }
      
          return this.getSelectedDates();
      }
docs: Selects a date on the current calendar by referencing the index of the cell that should be selected.
  This method is used to easily select a single cell (usually with a mouse click) without having to do
  a full render. The selected style is applied to the cell directly.
  
  If the cell is not marked with the CSS_CELL_SELECTABLE class (as is the case by default for out of month
  or out of bounds cells), it will not be selected and in such a case beforeSelect and select events will not be fired.
  
  @method selectCell
  @param {Number} cellIndex The index of the cell to select in the current calendar.
  @return {Date[]} Array of JavaScript Date objects representing all individual dates that are currently selected.