Browse Source

fix: row numbering based on page size configured

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
pull/5305/head
Raju Udava 2 years ago
parent
commit
0793c6d613
  1. 2
      packages/nc-gui/components/smartsheet/Grid.vue

2
packages/nc-gui/components/smartsheet/Grid.vue

@ -794,7 +794,7 @@ const closeAddColumnDropdown = () => {
class="nc-row-no text-xs text-gray-500" class="nc-row-no text-xs text-gray-500"
:class="{ toggle: !readOnly, hidden: row.rowMeta.selected }" :class="{ toggle: !readOnly, hidden: row.rowMeta.selected }"
> >
{{ ((paginationData.page ?? 1) - 1) * 25 + rowIndex + 1 }} {{ ((paginationData.page ?? 1) - 1) * (paginationData.pageSize ?? 25) + rowIndex + 1 }}
</div> </div>
<div <div
v-if="!readOnly" v-if="!readOnly"

Loading…
Cancel
Save