code: function(rowIndex, selected, fire) {
          var self = this;
          if (rowIndex === 0) {
              rowIndex = $.map(this.options.data, function(val, index) {
                  return index + 1;
              });
          }
          if (!$.isArray(rowIndex)) {
              rowIndex = [rowIndex];
          }
  
          $.each(rowIndex, function(index, val) {
              var tr = self.$tableBody.find('tbody tr:nth-child(' + (self.rowSpan > 1 ? (val * self.rowSpan) : val) + ')')
                  .filter('[class!="sum"]')
                  .filter('[class!="select-disabled"]'),
                  checkbox = tr.find('.select-col :checkbox');
              if (selected) {
                  checkbox.bizCheckbox('check');
                  tr.addClass('selected');
              } else {
                  checkbox.bizCheckbox('uncheck');
                  tr.removeClass('selected');
              }
          });
  
          var selectedCount = self.$tableBody.find('.select-col .biz-checkbox-checked').length,
              checkboxCount = self.$tableBody.find('.select-col :checkbox').filter(':not(:disabled)').length,
              selectAll = self.$tableHead.find('.select-col :checkbox');
          if (selectedCount === checkboxCount) {
              selectAll.bizCheckbox('check');
          } else {
              selectAll.bizCheckbox('uncheck');
          }
  
          if (fire && this.options.onSelect) {
              this.options.onSelect.call(this, this.getSelected());
          }
      }
docs: 设置选中状态
  @param {Number|Array} rowIndex 行号, 0表示全部
  @param {Boolean}      selected 状态
  @param {Boolean}      [fire]   触发 onSelect，默认 false