<templates>
  <t t-name="o-spreadsheet-GridOverlay">
    <div
      t-ref="this.gridOverlayRef"
      class="o-grid-overlay overflow-hidden o-zoomable"
      t-att-class="{'o-paint-format-cursor': this.isPaintingFormat}"
      t-att-style="this.style"
      t-on-pointerdown="this.onPointerDown"
      t-on-pointermove="this.onPointerMove"
      t-on-click="this.onClick"
      t-on-dblclick.self="this.onDoubleClick"
      t-on-contextmenu.stop.prevent="this.onContextMenu">
      <GridAddRowsFooter t-if="this.isFooterVisible" t-key="this.viewStore.displayedSheetId"/>
      <t t-call-slot="default"/>
    </div>
  </t>
</templates>
