Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Re: Polaris Index Table - How to implement 'select all' when pagination is used?

Polaris Index Table - How to implement 'select all' when pagination is used?

nathan-help
Shopify Partner
6 0 1

How do I implement the 'select all' functionality when using pagination in an index table?  When I set the property 'hasMoreItems={true}' to the index table, the button is displaying, but it is not properly selecting all the items that are available (only the ones that are currently displayed).  I would like to select all available items so I am wondering if it is possible to access/override the 'Select all 50+ products' button.  I can't seem to find any info in the documentation on the matter or any example implementations of an index table with pagination.

 

Here is a screenshot of the 'Select all 50+ products' button I would like to have access to:

nathanhelp_0-1657388004170.png

 

Reply 1 (1)

CalebV
Shopify Partner
15 0 5

Commenting because I am facing the same issue.