Handling large datasets
The jsuites.dropdown
provides a native lazyloading feature to enhance the performance when handling a large number of options. The example below shows the performance of the dropdown dealing with 20K options.
<html>
<script src="https://jsuites.net/v4/jsuites.js"></script>
<link rel="stylesheet" href="https://jsuites.net/v4/jsuites.css" type="text/css" />
<div id="dropdown"></div>
<script>
jSuites.dropdown(document.getElementById('dropdown'), {
url: '/docs/large',
autocomplete: true,
lazyLoading: true,
width: '280px'
});
</script>
</html>