how to bind extra parameter on kendo multi select to pass onChange event -


hi totaly new in kendo
try kendo multiselect widgets
here demo
in demo

  $("#select").kendomultiselect({                     datatextfield: "text",                     datavaluefield: "value",                     datasource: data,                     databound: ondatabound,                      change: onchange, }) 

when change fire want pass 1 parameter contain 1 one variable myvartext.
how can pass on change event.
thanks.

where 1 variable comes ?

1) if var outside multiselect access shown bellow, no need pass it

 $("#select").kendomultiselect({                         datatextfield: "text",                         datavaluefield: "value",                         datasource: data,                         databound: ondatabound,                         change: function(e) {                             myvartext                            },     }) 

2) if var related multiselect, eg in datasource, try "e" or access instance of control

  var mymultisel =  $("#select").kendomultiselect({                             datatextfield: "text",                             datavaluefield: "value",                             datasource: data,                             databound: ondatabound,                             change: onchange         }).data("kendomultiselect");   function onchange(e) {    var x =  mymultisel.datasource. ...       var y = e. ..    }   

Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -