atatable-extension>
          </ul>
        </div>
      </div>
    </div>
  </template>
  <template lwc:elseif={showCard}>
    <lightning-card title={cardTitle} icon-name={cardIcon}>
      <template lwc:if={showMultipleRowDeleteAction}>
        <lightning-button
          lwc:if={hasSelectedRecords}
          label="Delete"
          slot="actions"
          onclick={deleteSelectedRecords}
        ></lightning-button>
      </template>
      <c-custom-datatable-extension
        key-field={keyField}
      