bootstrap-multiselect
bootstrap-multiselect copied to clipboard
Calling 'select' within rowCallback in Datatables disables option selection
Hey there,
I've noticed that when you use $('.some-select').multiselect('select', 'somevalue') inside rowCallback in Datatables it disables selections. In other words, you can't select any other option in the multiselect. It's stuck on the option you've initially set it to using select.
I was forced to use something such as this:
$('.some-select').find('option[value="'+ value +'"]').attr('selected', true);
$('.some-select').multiselect('refresh');
Not sure if this is a bug or something else. I figured I'd leave a ticket incase someone else comes across something similar.