We have a Kendo grid that can display anywhere from 10 to thousands of rows. We want to be able to set the grid page size to several values, including ALL.
What we have now - without ALL works:
.Pageable(p => p
.PageSizes(new[] { 100, 200, 500, 1000, 2000 })
When we run this - we see the correct values in the "Items per page" dropdown.
We want to add the "All" option to this dropdown, but the following is not working (compile error)
.Pageable(p => p
.PageSizes(new[] { 100, 200, 500, 1000, 2000, "All" })
How do we include All along with other values in the Items per page?