Kartik Select2 Refresh

Can anyone point me to instruction to repopulate a Kartik select2?

I have a form in which the options of the Select2 are dependent, and must be refreshed, based on another control. Just not sure how to accomplish this with a Select2.

Using kartik depDrop also?

I’m not sure if this will help you, but I use jquery to append items to the select. You could do something similar. Otherwise, just replace the entire select with an ajax request.

$('#mySelect').append($('<option>', {value: response.id, text: response.tag}));