Alternatively, this method can also be used to build option groups (<atarget="_blank"href="https://github.com/davidstutz/bootstrap-multiselect/pull/281">#281</a>):
The plugin needs at least the styles for forms and dropdowns. In addition the JavaScript dropdown plugin from Twitter Bootstrap is required. Details can be found here: <ahref="https://github.com/davidstutz/bootstrap-multiselect/issues/344">#344</a>.
</p>
<p>
<b>How to use the <code>.multiselect('dataprovider', data)</code> method?</b>
</p>
<p>
Have a look at the <ahref="#methods">Methods</a> section. In the past, there has been some confusion about how the method handles option groups. If the documentation does not help you, have a look at the issue tracker, as for example issue <atarget="_blank"href="https://github.com/davidstutz/bootstrap-multiselect/issues/356">356</a>.