Is there any way to load all of the data, irrespective of the page size? I mean, I want no page size on the table and load all of the data.
just give array of your data to data field of component:
I didn't understand. I am talking about the page size that comes on the table pagination toolbar which is by default 5, I don't want that. If for example I have 50 rows of data then it should load all of it rather than just 5 (Default Page Size). How would I do that?
Try this:
pageSize: 50,
pageSizeOptions: [50, 100, 200]
}}
/>
Oh it worked! Thanks for the help.
Hey, can somebody help me as to how can I get the current page and set the same?
can anybody tell how to set the current selected pagesize from the array ? and then use that page size on every reload irrespective of going back to the default value
Most helpful comment
Try this:
pageSize: 50,
pageSizeOptions: [50, 100, 200]
}}
/>