Skip to content

chore(docs): add another pageOptions setting example #6019

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Nov 5, 2020
Merged
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
8 changes: 4 additions & 4 deletions src/components/table/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2202,7 +2202,7 @@ The provider function is called with the following signature:
provider(ctx, [callback])
```

The `ctx` is the context object associated with the table state, and contains the following five
The `ctx` is the context object associated with the table state, and contains the following
properties:

| Property | Type | Description |
Expand Down Expand Up @@ -3064,11 +3064,11 @@ your app handles the various inconsistencies with events.
{ isActive: false, age: 29, name: { first: 'Dick', last: 'Dunlap' } }
],
fields: [
{ key: 'name', label: 'Person Full name', sortable: true, sortDirection: 'desc' },
{ key: 'name', label: 'Person full name', sortable: true, sortDirection: 'desc' },
{ key: 'age', label: 'Person age', sortable: true, class: 'text-center' },
{
key: 'isActive',
label: 'is Active',
label: 'Is Active',
formatter: (value, key, item) => {
return value ? 'Yes' : 'No'
},
Expand All @@ -3081,7 +3081,7 @@ your app handles the various inconsistencies with events.
totalRows: 1,
currentPage: 1,
perPage: 5,
pageOptions: [5, 10, 15],
pageOptions: [5, 10, 15, { value: 100, text: "Show a lot" }],
sortBy: '',
sortDesc: false,
sortDirection: 'asc',
Expand Down