Kartik select2 yii2 - Select All and Unselected All is not connected with select, selecting, unselect event -


i have selecting, unselect , unselecting event. when click on select or unselect none of these events called.

this plugin link http://demos.krajee.com/widget-details/select2

there event fired. logic defined in here:

select2 krajee js official source code

the name of event select krajeeselect2:selectall , unselect krajeeselect2:unselectall.

consuming event via jquery done always:

$('#mykartikselect2id').on("krajeeselect2:selectall", function (e) {     console.log(e); });  $('#mykartikselect2id').on("krajeeselect2:unselectall", function (e) {     console.log(e); }); 

hope helps (:


Comments

Popular posts from this blog

python - How to insert QWidgets in the middle of a Layout? -

python - serve multiple gunicorn django instances under nginx ubuntu -

module - Prestashop displayPaymentReturn hook url -