Product: PowerShell Universal Version: 3.3.5
I am using the example Data Grid - PowerShell Universal
Looks like I must live with 5 rows on initial load and when I use -PageSize (any number ) I see no difference as it always 5 rows.
If I use rowsperpageoptions for example -AutoHeight -PageSize 4 -RowsPerPageOptions @(1,2,3,4,5,6,7,8,9,10)
I get 5 rows rendered and when I select any ‘rows per page’ the rows rendered match the one selected.
If I use rowsperpageoptions for example -AutoHeight -PageSize 4 -RowsPerPageOptions @(1,2,3,4,6,7,8,9,10) where I do not include a 5 there is now no option ‘rows per page’.
There is a built in requirement for 5 rows per page and I validated this in the console message “MUI: the page size ‘5’ is not present in the ‘rowsperpageoption’ add it to show the pagination select”
How can I get the pagesize I want when the table first loads?
Also it looks like the export is only getting the data from the current page.
how can I export all the rows when using Pagination?