Efficiently handling large lists...
I'm submitting a ...
- bug report
- [x] feature request
- question
If you are requesting a new or changed feature, please provide a rationale
Something to consider for the future for this widget: https://stackoverflow.com/questions/10989686/efficiently-showing-large-list-in-html
The basic premise of the techniques discussed in the above StackOverflow page is that regardless of the list size, the key to good list scrolling / updating performance is realizing that you really only need to deal with the list items the the user is actually seeing at any given time. Given that this widget is essentially a pop-up scrolling div containing an un-ordered list, it could be possible to set it up to limit the number of checkbox inputs that actually exist any given time to primarily those that actually are actually viewable. The remainder of the list items that are outside of view could just be empty <li>'s that only serve to ensure that the scroll position is shown correctly on the scroll bar. This approach is used in some of the referenced libraries in the above article... e.g.: infinity.js, clusterize.js, etc.
My suggestion would be to keep this in mind for a future "version 4" or thereafter of the widget. Being able to efficiently handle large lists could be a useful added feature for this widget, particularly if the filtering ability was also included and enhanced.
Reference #765 for ideas also.