Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/framework/alpine/guide/pagination.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ No pagination row model is needed for server-side pagination, but if you have pr

#### Page Count and Row Count

The table instance will have no way of knowing how many rows/pages there are in total in your back-end unless you tell it. Provide either the `rowCount` or `pageCount` table option to let the table instance know how many pages there are in total. If you provide a `rowCount`, the table instance will calculate the `pageCount` internally from `rowCount` and `pageSize`. Otherwise, you can directly provide the `pageCount` if you already have it. If you don't know the page count, you can just pass in `-1` for the `pageCount`, but the `getCanNextPage` and `getCanPreviousPage` row model functions will always return `true` in this case.
The table instance will have no way of knowing how many rows/pages there are in total in your back-end unless you tell it. Provide either the `rowCount` or `pageCount` table option to let the table instance know how many pages there are in total. If you provide a `rowCount`, the table instance will calculate the `pageCount` internally from `rowCount` and `pageSize`. Otherwise, you can directly provide the `pageCount` if you already have it. If you don't know the page count, you can just pass in `-1` for the `pageCount`, but in that case `getCanNextPage` will always return `true`. `getCanPreviousPage` does not read `pageCount` at all: it only checks whether the current `pageIndex` is greater than `0`.

```ts
import {
Expand Down
2 changes: 1 addition & 1 deletion docs/framework/angular/guide/pagination.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ No pagination row model is needed for server-side pagination, but if you have pr

#### Page Count and Row Count

The table instance will have no way of knowing how many rows/pages there are in total in your back-end unless you tell it. Provide either the `rowCount` or `pageCount` table option to let the table instance know how many pages there are in total. If you provide a `rowCount`, the table instance will calculate the `pageCount` internally from `rowCount` and `pageSize`. Otherwise, you can directly provide the `pageCount` if you already have it. If you don't know the page count, you can just pass in `-1` for the `pageCount`, but the `getCanNextPage` and `getCanPreviousPage` row model functions will always return `true` in this case.
The table instance will have no way of knowing how many rows/pages there are in total in your back-end unless you tell it. Provide either the `rowCount` or `pageCount` table option to let the table instance know how many pages there are in total. If you provide a `rowCount`, the table instance will calculate the `pageCount` internally from `rowCount` and `pageSize`. Otherwise, you can directly provide the `pageCount` if you already have it. If you don't know the page count, you can just pass in `-1` for the `pageCount`, but in that case `getCanNextPage` will always return `true`. `getCanPreviousPage` does not read `pageCount` at all: it only checks whether the current `pageIndex` is greater than `0`.

```ts
import {
Expand Down
2 changes: 1 addition & 1 deletion docs/framework/ember/guide/pagination.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ No pagination row model is needed for server-side pagination, but if you have pr

#### Page Count and Row Count

The table instance will have no way of knowing how many rows/pages there are in total in your back-end unless you tell it. Provide either the `rowCount` or `pageCount` table option to let the table instance know how many pages there are in total. If you provide a `rowCount`, the table instance will calculate the `pageCount` internally from `rowCount` and `pageSize`. Otherwise, you can directly provide the `pageCount` if you already have it. If you don't know the page count, you can just pass in `-1` for the `pageCount`, but the `getCanNextPage` and `getCanPreviousPage` row model functions will always return `true` in this case.
The table instance will have no way of knowing how many rows/pages there are in total in your back-end unless you tell it. Provide either the `rowCount` or `pageCount` table option to let the table instance know how many pages there are in total. If you provide a `rowCount`, the table instance will calculate the `pageCount` internally from `rowCount` and `pageSize`. Otherwise, you can directly provide the `pageCount` if you already have it. If you don't know the page count, you can just pass in `-1` for the `pageCount`, but in that case `getCanNextPage` will always return `true`. `getCanPreviousPage` does not read `pageCount` at all: it only checks whether the current `pageIndex` is greater than `0`.

```ts
import {
Expand Down
2 changes: 1 addition & 1 deletion docs/framework/lit/guide/pagination.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ No pagination row model is needed for server-side pagination, but if you have pr

#### Page Count and Row Count

The table instance will have no way of knowing how many rows/pages there are in total in your back-end unless you tell it. Provide either the `rowCount` or `pageCount` table option to let the table instance know how many pages there are in total. If you provide a `rowCount`, the table instance will calculate the `pageCount` internally from `rowCount` and `pageSize`. Otherwise, you can directly provide the `pageCount` if you already have it. If you don't know the page count, you can just pass in `-1` for the `pageCount`, but the `getCanNextPage` and `getCanPreviousPage` row model functions will always return `true` in this case.
The table instance will have no way of knowing how many rows/pages there are in total in your back-end unless you tell it. Provide either the `rowCount` or `pageCount` table option to let the table instance know how many pages there are in total. If you provide a `rowCount`, the table instance will calculate the `pageCount` internally from `rowCount` and `pageSize`. Otherwise, you can directly provide the `pageCount` if you already have it. If you don't know the page count, you can just pass in `-1` for the `pageCount`, but in that case `getCanNextPage` will always return `true`. `getCanPreviousPage` does not read `pageCount` at all: it only checks whether the current `pageIndex` is greater than `0`.

```ts
import {
Expand Down
2 changes: 1 addition & 1 deletion docs/framework/octane/guide/pagination.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ No pagination row model is needed for server-side pagination, but if you have pr

#### Page Count and Row Count

The table instance will have no way of knowing how many rows/pages there are in total in your back-end unless you tell it. Provide either the `rowCount` or `pageCount` table option to let the table instance know how many pages there are in total. If you provide a `rowCount`, the table instance will calculate the `pageCount` internally from `rowCount` and `pageSize`. Otherwise, you can directly provide the `pageCount` if you already have it. If you don't know the page count, you can just pass in `-1` for the `pageCount`, but the `getCanNextPage` and `getCanPreviousPage` row model functions will always return `true` in this case.
The table instance will have no way of knowing how many rows/pages there are in total in your back-end unless you tell it. Provide either the `rowCount` or `pageCount` table option to let the table instance know how many pages there are in total. If you provide a `rowCount`, the table instance will calculate the `pageCount` internally from `rowCount` and `pageSize`. Otherwise, you can directly provide the `pageCount` if you already have it. If you don't know the page count, you can just pass in `-1` for the `pageCount`, but in that case `getCanNextPage` will always return `true`. `getCanPreviousPage` does not read `pageCount` at all: it only checks whether the current `pageIndex` is greater than `0`.

```tsx
import {
Expand Down
2 changes: 1 addition & 1 deletion docs/framework/preact/guide/pagination.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ No pagination row model is needed for server-side pagination, but if you have pr

#### Page Count and Row Count

The table instance will have no way of knowing how many rows/pages there are in total in your back-end unless you tell it. Provide either the `rowCount` or `pageCount` table option to let the table instance know how many pages there are in total. If you provide a `rowCount`, the table instance will calculate the `pageCount` internally from `rowCount` and `pageSize`. Otherwise, you can directly provide the `pageCount` if you already have it. If you don't know the page count, you can just pass in `-1` for the `pageCount`, but the `getCanNextPage` and `getCanPreviousPage` row model functions will always return `true` in this case.
The table instance will have no way of knowing how many rows/pages there are in total in your back-end unless you tell it. Provide either the `rowCount` or `pageCount` table option to let the table instance know how many pages there are in total. If you provide a `rowCount`, the table instance will calculate the `pageCount` internally from `rowCount` and `pageSize`. Otherwise, you can directly provide the `pageCount` if you already have it. If you don't know the page count, you can just pass in `-1` for the `pageCount`, but in that case `getCanNextPage` will always return `true`. `getCanPreviousPage` does not read `pageCount` at all: it only checks whether the current `pageIndex` is greater than `0`.

```tsx
import {
Expand Down
2 changes: 1 addition & 1 deletion docs/framework/react/guide/pagination.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ No pagination row model is needed for server-side pagination, but if you have pr

#### Page Count and Row Count

The table instance will have no way of knowing how many rows/pages there are in total in your back-end unless you tell it. Provide either the `rowCount` or `pageCount` table option to let the table instance know how many pages there are in total. If you provide a `rowCount`, the table instance will calculate the `pageCount` internally from `rowCount` and `pageSize`. Otherwise, you can directly provide the `pageCount` if you already have it. If you don't know the page count, you can just pass in `-1` for the `pageCount`, but the `getCanNextPage` and `getCanPreviousPage` row model functions will always return `true` in this case.
The table instance will have no way of knowing how many rows/pages there are in total in your back-end unless you tell it. Provide either the `rowCount` or `pageCount` table option to let the table instance know how many pages there are in total. If you provide a `rowCount`, the table instance will calculate the `pageCount` internally from `rowCount` and `pageSize`. Otherwise, you can directly provide the `pageCount` if you already have it. If you don't know the page count, you can just pass in `-1` for the `pageCount`, but in that case `getCanNextPage` will always return `true`. `getCanPreviousPage` does not read `pageCount` at all: it only checks whether the current `pageIndex` is greater than `0`.

```tsx
import {
Expand Down
2 changes: 1 addition & 1 deletion docs/framework/solid/guide/pagination.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ No pagination row model is needed for server-side pagination, but if you have pr

#### Page Count and Row Count

The table instance will have no way of knowing how many rows/pages there are in total in your back-end unless you tell it. Provide either the `rowCount` or `pageCount` table option to let the table instance know how many pages there are in total. If you provide a `rowCount`, the table instance will calculate the `pageCount` internally from `rowCount` and `pageSize`. Otherwise, you can directly provide the `pageCount` if you already have it. If you don't know the page count, you can just pass in `-1` for the `pageCount`, but the `getCanNextPage` and `getCanPreviousPage` row model functions will always return `true` in this case.
The table instance will have no way of knowing how many rows/pages there are in total in your back-end unless you tell it. Provide either the `rowCount` or `pageCount` table option to let the table instance know how many pages there are in total. If you provide a `rowCount`, the table instance will calculate the `pageCount` internally from `rowCount` and `pageSize`. Otherwise, you can directly provide the `pageCount` if you already have it. If you don't know the page count, you can just pass in `-1` for the `pageCount`, but in that case `getCanNextPage` will always return `true`. `getCanPreviousPage` does not read `pageCount` at all: it only checks whether the current `pageIndex` is greater than `0`.

```tsx
import {
Expand Down
2 changes: 1 addition & 1 deletion docs/framework/svelte/guide/pagination.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ No pagination row model is needed for server-side pagination, but if you have pr

#### Page Count and Row Count

The table instance will have no way of knowing how many rows/pages there are in total in your back-end unless you tell it. Provide either the `rowCount` or `pageCount` table option to let the table instance know how many pages there are in total. If you provide a `rowCount`, the table instance will calculate the `pageCount` internally from `rowCount` and `pageSize`. Otherwise, you can directly provide the `pageCount` if you already have it. If you don't know the page count, you can just pass in `-1` for the `pageCount`, but the `getCanNextPage` and `getCanPreviousPage` row model functions will always return `true` in this case.
The table instance will have no way of knowing how many rows/pages there are in total in your back-end unless you tell it. Provide either the `rowCount` or `pageCount` table option to let the table instance know how many pages there are in total. If you provide a `rowCount`, the table instance will calculate the `pageCount` internally from `rowCount` and `pageSize`. Otherwise, you can directly provide the `pageCount` if you already have it. If you don't know the page count, you can just pass in `-1` for the `pageCount`, but in that case `getCanNextPage` will always return `true`. `getCanPreviousPage` does not read `pageCount` at all: it only checks whether the current `pageIndex` is greater than `0`.

```ts
import {
Expand Down
2 changes: 1 addition & 1 deletion docs/framework/vue/guide/pagination.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ No pagination row model is needed for server-side pagination, but if you have pr

#### Page Count and Row Count

The table instance will have no way of knowing how many rows/pages there are in total in your back-end unless you tell it. Provide either the `rowCount` or `pageCount` table option to let the table instance know how many pages there are in total. If you provide a `rowCount`, the table instance will calculate the `pageCount` internally from `rowCount` and `pageSize`. Otherwise, you can directly provide the `pageCount` if you already have it. If you don't know the page count, you can just pass in `-1` for the `pageCount`, but the `getCanNextPage` and `getCanPreviousPage` row model functions will always return `true` in this case.
The table instance will have no way of knowing how many rows/pages there are in total in your back-end unless you tell it. Provide either the `rowCount` or `pageCount` table option to let the table instance know how many pages there are in total. If you provide a `rowCount`, the table instance will calculate the `pageCount` internally from `rowCount` and `pageSize`. Otherwise, you can directly provide the `pageCount` if you already have it. If you don't know the page count, you can just pass in `-1` for the `pageCount`, but in that case `getCanNextPage` will always return `true`. `getCanPreviousPage` does not read `pageCount` at all: it only checks whether the current `pageIndex` is greater than `0`.

```ts
import {
Expand Down