angularUtils
angularUtils copied to clipboard
Add ability to change asyncMode during lifetime
Hi,
I'm using successfully your pagination controll :) I need the ability to change asyncMode during lifetime, so I add it. If you want you can merge it :)
Best regards, Mateusz
Hi,
Thanks for the contribution. Can you outline the use-case and how to use your changes?
Hi,
I have async list with select items.

When I click 'View selected' and unselect item this item disappears.
( example:
- pagesize 10
- 20 selected items
- you are on first page
- unselect item
- item disappears
- in async mode you don't have items from second page, so you can't bring first item from second page to first. Without refresh request on first page remain 9 items. When you unselect other 9 items from first page, first page will be blank. You move to second page but there is no second page now. )
I don't want make request to server every unselected item to refresh list. Instead it in 'View selected' mode I get all selected items and turn off async mode :)
I hope you understand me.