Skip to content

Commit 7d78b48

Browse files
chore(docs): add another pageOptions setting example (#6019)
* chore(docs): add another `pageOptions` example in table component doc * chore(docs): correct a sentence in table component doc chore(docs): correct a sentence in table component doc * Update README.md Co-authored-by: Jacob Müller <jacob.mueller.elz@gmail.com>
1 parent a67506b commit 7d78b48

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/components/table/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2202,7 +2202,7 @@ The provider function is called with the following signature:
22022202
provider(ctx, [callback])
22032203
```
22042204

2205-
The `ctx` is the context object associated with the table state, and contains the following five
2205+
The `ctx` is the context object associated with the table state, and contains the following
22062206
properties:
22072207

22082208
| Property | Type | Description |
@@ -3064,11 +3064,11 @@ your app handles the various inconsistencies with events.
30643064
{ isActive: false, age: 29, name: { first: 'Dick', last: 'Dunlap' } }
30653065
],
30663066
fields: [
3067-
{ key: 'name', label: 'Person Full name', sortable: true, sortDirection: 'desc' },
3067+
{ key: 'name', label: 'Person full name', sortable: true, sortDirection: 'desc' },
30683068
{ key: 'age', label: 'Person age', sortable: true, class: 'text-center' },
30693069
{
30703070
key: 'isActive',
3071-
label: 'is Active',
3071+
label: 'Is Active',
30723072
formatter: (value, key, item) => {
30733073
return value ? 'Yes' : 'No'
30743074
},
@@ -3081,7 +3081,7 @@ your app handles the various inconsistencies with events.
30813081
totalRows: 1,
30823082
currentPage: 1,
30833083
perPage: 5,
3084-
pageOptions: [5, 10, 15],
3084+
pageOptions: [5, 10, 15, { value: 100, text: "Show a lot" }],
30853085
sortBy: '',
30863086
sortDesc: false,
30873087
sortDirection: 'asc',

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy