docs: function initOptions() {
      this.options.width = this.formatWidth(this.options.width);
      this.options.height = this.formatWidth(this.options.height);
      this.options.rowHeight = parseInt(this.options.rowHeight);
      if (this.options.height == '100%' || !this.options.height) {
          this.countContentHeight = false;
      }
      this.initOptionsTree();
      this.leftW = 0; // 左侧区域宽度（数字列复选框等）
      if (this.options.showNumCol) {
          this.leftW += this.numWidth;
      }
      if (this.options.multiSelect) {
          this.leftW += this.multiSelectWidth;
      }
      this.exceptContentHeight = 0; // 内容区域之外的高度
      this.noScrollHeight = 0;
      if (this.options.showHeader) {
          this.exceptContentHeight += this.headerHeight;
      }
  
      this.fixedWidth = 0;
      if (this.options.maxHeaderLevel > 1) {
          this.options.canSwap = false;
          this.options.canDrag = false;
          this.options.columnMenu = false;
      }
      if (this.options.rowHeight && !this.options.sumRowHeight) {
          this.options.sumRowHeight = this.options.rowHeight;
      }
      if (this.options.sumRowFixed) {
          this.noScrollHeight += this.options.sumRowHeight;
          this.exceptContentHeight += this.options.sumRowHeight;
          // if (!this.options.sumRowFirst) {
          this.exceptContentHeight += 1;
          // }
      }
      if (this.options.heightAuto) {
          this.options.needResetHeight = true;
      } else {
          this.options.maxHeight = 0;
      }
  
      // 获取缓存id
      var url = window.location.href;
      var index = url.indexOf('?');
      if (index > 0) {
          url = url.substring(0, index);
      }
      this.localStorageId = this.options.id + url;
  }