Closed caneta closed 8 years ago
Hi, Unfortunately this is still not implemented, but it's on my roadmap.
Thanks
Ok, thank you!
Could you please explain what is your use case for destroying the plugin instance? In which cases in could be helpful for you? I've check recently that to destroy it I should implement destroy method in almost every jplist addon, and it is a lot of additional code and work. So I'm considering now if it's worth these additional overhead.
I search for a 'destroy' method because I reload the list dynamically after an Ajax call.
Maybe there are other ways to achieve my goal, but at the time of my first post a 'destroy' method would had been useful...
Thank you for the explanation. I guess it's possible to use jPList API to remove / add items instead:
http://jplist.com/documentation/api-add-one-item http://jplist.com/documentation/api-add-range-of-items http://jplist.com/documentation/api-remove-one-item http://jplist.com/documentation/api-remove-range-of-items
Ok, maybe this is a better approach. Thanks!
You're welcome!
I would like to destroy a jplist instance: is there a way to realize this? Thanks