_onExpand (recurse) {
    let table
    let frame
    let scrollTop

    if (recurse) {
      // Take the table offline
      table = this.dom.tr.parentNode // TODO: not nice to access the main table like this
      frame = table.parentNode
      scrollTop = frame.scrollTop
      frame.removeChild(table)
    }

    if (this.expanded) {
      this.collapse(recurse)
    } else {
      this.expand(recurse)
    }

    if (recurse) {
      // Put the table online again
      frame.appendChild(table)
      frame.scrollTop = scrollTop
    }

    if (typeof this.editor.options.onExpand === 'function') {
      this.editor.options.onExpand({
        path: this.getPath(),
        isExpand: this.expanded,
        recursive: recurse
      })
    }
  }
Handle the expand event, when clicked on the expand button
@param {boolean} recurse   If true, child nodes will be expanded too
@private