I am trying to set pageSizeOptions = {[10,20,50,100]} but still see default values which are 5,10,20
Hi @kuantayevs ,
You should add it to options prop:
<MaterialTable
.....
options={{
pageSizeOptions = {[10,20,50,100]}
}}
/>
Can you try this please?
it is already inside of options
On Wed, Mar 27, 2019 at 00:51 Mehmet Baran notifications@github.com wrote:
Hi @kuantayevs https://github.com/kuantayevs ,
You should add it to options prop:
.....
options={{
pageSizeOptions = {[10,20,50,100]}
}}/>Can you try this please?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/mbrn/material-table/issues/382#issuecomment-476973877,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AQL8cL20n-4qj-MAxLWoEC9RlsRQljEJks5vavjjgaJpZM4cMehf
.
Can you share table usage code, please? Because i tried it and it is working.
Which version of material-table do you use?
I just updated. Everything work! Sorry for that!
On Wed, Mar 27, 2019 at 08:10 Mehmet Baran notifications@github.com wrote:
Which version of material-table do you use?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/mbrn/material-table/issues/382#issuecomment-477122760,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AQL8cHcp2W2KsfTZ5yjr08z1kjGQnLJUks5va1_SgaJpZM4cMehf
.
I just updated. Everything work! Sorry for that!
…
On Wed, Mar 27, 2019 at 08:10 Mehmet Baran @.*> wrote: Which version of material-table do you use? — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#382 (comment)>, or mute the thread https://github.com/notifications/unsubscribe-auth/AQL8cHcp2W2KsfTZ5yjr08z1kjGQnLJUks5va1_SgaJpZM4cMehf .
Not problem @kuantayevs , feel free to ask.
Hi @kuantayevs ,
You should add it to options prop:
<MaterialTable ..... options={{ pageSizeOptions = {[10,20,50,100]} }} />Can you try this please?
Just to clarify, pageSizeOptions should take a colon instead of an equals sign.
<MaterialTable
.....
options={{
pageSizeOptions: [10,20,50,100]
}}
/>
Most helpful comment
Hi @kuantayevs ,
You should add it to options prop:
Can you try this please?