I am not sure but there is maybe a bug with this feature. When I empty the list everything works fine. However, when I add a new item using the add-feature, after the empty feature, all the previous items before empty'ing are back in the list again.
So just like this:
Initialize a jplist pagination control.
Add a item using the 'add'-command of jplist.
Empty the list using the 'empty'-command of jplist.
Add a item using the 'add'-command of jplist. (Result of this all the deleted items from step 3 are back again)
I hope you understand what I mean otherwise I will post fiddle :)
Hi there,
So I used the new and very nice feature the 'empty' command to empty the list at once, requested at https://github.com/no81no/jplist/issues/214
I am not sure but there is maybe a bug with this feature. When I empty the list everything works fine. However, when I add a new item using the add-feature, after the empty feature, all the previous items before empty'ing are back in the list again.
So just like this:
I hope you understand what I mean otherwise I will post fiddle :)