<template>
  <div class="q-ma-xs">
    <CGridTableRec
      ref="myGridRef"
      v-if="searchList.length > 0 && table"
      :prop_mytable="table"
      :options="tools.optionsTable(table)"
      :prop_mytitlenew="tools.getTitleAnnuncio(table)"
      prop_mytitle=""
      :prop_mycolumns="col"
      :prop_colkey="prop_colkey"
      :col_title="col_title"
      :col_footer="col_footer"
      :col_tabfooter="col_tabfooter"
      :vertical="tipovisu"
      :prop_pagination="mypagination"
      :showType="showType"
      :hint="hint"
      :nodataLabel="noMsgRecord"
      :prop_search="prop_search"
      :finder="true"
      labelElemFind="trovati"
      :choose_visutype="visuType"
      :butt_modif_new="false"
      :noresultLabel="
        t('grid.nosearchfound') + ' ' + (showMap ? t('grid.intheareamap') : '')
      "
      :arrfilters="arrfilterand"
      :filtercustom="filtercustom"
      :prop_searchList="searchList"
      labelBtnAddRow="NONE"
      :prop_SortFieldsAvailable="mySortFieldsAvailable"
      labelBtnAddExtra=""
      :extraparams="tools.extraparams(table, { myrecfiltertoggle })"
      :prop_showMap="showMap"
      @clickButtBar="clickButtBar"
    >
    </CGridTableRec>
  </div>
</template>

<script lang="ts" src="./CGridOriz.ts">
</script>
<style lang="scss" scoped>
@import './CGridOriz.scss';
</style>
