I have created custom mass action, where I am trying to get all the orders ids which I have selected by using select all, but it gives only visible page ids. So I just wanted to get all selected ids.
-
If you select all the orders for the mass action, it may take a considerable amount of time to load. As a best practice, I recommended to use pagination to select specific orders and apply the mass action to those selected orders.– Grazitti DevCommented Aug 8 at 11:13
-
@GrazittiDev Right, but if I wanted to achive that, do you have solution for that ?– MarkCommented Aug 8 at 11:16
Add a comment
|
1 Answer
You can achieve this by using the "Select All" button. When you click on the checkbox in the dropdown section, you'll see the available options. Simply select "Select All," and See if the selected record count is equal to total like image given below :
-
Yes but if you try to get the all selected ids, then you will get only visible page ids not all, that's the problem– MarkCommented Aug 9 at 7:00
-
Hey, Check and try once this solution - magento.stackexchange.com/questions/290721/… Commented Aug 13 at 13:36