Vuetable-2: Customize the Pagination Info

Created on 22 Feb 2018  ·  1Comment  ·  Source: ratiw/vuetable-2

Hi, in vuetable-2 how could get the result of vuetable 1 in the customization

(pagination-info-template) it does not work

https://github.com/ratiw/vue-table/wiki/Customize-the-Pagination-Info

<template>
  <div>
    <filter-bar></filter-bar>
    <vuetable ref="vuetable"
      api-url="api/advertisings"
      :fields="fields"
      pagination-path=""
      :css="css.table"
      :sort-order="sortOrder"
      pagination-info-template="Mostrando: {from} - {to} De {total} Resultados"
      pagination-info-no-data-template="The requested query return no result"
      :multi-sort="true"
      :append-params="moreParams"
      @vuetable:cell-clicked="onCellClicked"
      @vuetable:pagination-data="onPaginationData"
    ></vuetable>
    <div class="vuetable-pagination">
      <vuetable-pagination-info ref="paginationInfo"
        info-class="pagination-info"
      ></vuetable-pagination-info>
      <vuetable-pagination ref="pagination"
        :css="css.pagination"
        @vuetable-pagination:change-page="onChangePage"
      ></vuetable-pagination>
    </div>
  </div>
</template>

Most helpful comment

thank you I have solved it

https://github.com/ratiw/vuetable-2/issues/67

<vuetable-pagination-info ref="paginationInfo"
        info-class="pagination-info"
        info-template="mos record {from} to {to} of {total} records"
      ></vuetable-pagination-info>

>All comments

thank you I have solved it

https://github.com/ratiw/vuetable-2/issues/67

<vuetable-pagination-info ref="paginationInfo"
        info-class="pagination-info"
        info-template="mos record {from} to {to} of {total} records"
      ></vuetable-pagination-info>
Was this page helpful?
0 / 5 - 0 ratings

Related issues

jdriesen picture jdriesen  ·  4Comments

PrimozRome picture PrimozRome  ·  5Comments

larryu picture larryu  ·  6Comments

hitoz picture hitoz  ·  4Comments

wa05 picture wa05  ·  3Comments