Closed WissamProgress closed 7 months ago
Also selecting all should hide buttons as well of pages. We are having this issue in production , can you please give priority to it...
It appears that this is not a bug as this functionality is achieved in the onDataStateChange
event handler where you can set the take
property to products.length
when targetEvent.value
equals All
, or whatever string you set in the pageSizes
.
Here is an example with the onDataStateChange
event and the process
method:
Nevertheless, this information should be added to the documentation, which we will do.
@spatil77937 does this demo match what you need?
I'm submitting a...
Current behavior
When using the
onDataStateChange
event, it adding theAll
value as a pageSize, selecting it is not applied to the pageSize DropDownList.Expected behavior
Selecting the
All
value should display it in the DropDown.Minimal reproduction of the problem with instructions
pageable.pageSize
to[5, 10, 14, 'All']
- https://stackblitz.com/edit/react-emapav?file=app%2Fmain.jsxAll
option in the Pager DropDownListReported in Ticket ID: 1636929