jquery - Kendo UI MultiSelect not firing change event -


i have kendo ui multiselect widget working great, except 1 little hiccup: can't change event fire! can verify kendo ui inspector in chrome 44.0.2403.125 m, other events i'm capturing show in event log while change event doesn't.

my code:

$('#multiselect').kendomultiselect({     change: function () {         alert('selection changed');     },     databound: function () {         // working code     },     datasource: {         data: pppdata,         pagesize: 40,         schema: {             model: {                 fields: {                     courseid: { field: 'courseid' },                     coursename: { field: 'coursename' }                 }             }         }     },     datatextfield: 'coursename',     datavaluefield: 'courseid',     filter: 'contains',     index: 0,     itemheight: 29,     select: function (e) {         // working code     },     template: '<div class="ellipsize">#= courseid # - #= coursename #</div>',     virtual: true }); 

mtia :-)

update: have narrowed problem down virtual attribute being culprit...if remove , pagesize multiselect's options, works expected, although there 3 - 5 second lag first time user clicks on multiselect, loads 3,945 records in data set. know way can around this, without breaking change event?


Comments

Popular posts from this blog

python - pip install -U PySide error -

arrays - C++ error: a brace-enclosed initializer is not allowed here before ‘{’ token -

cytoscape.js - How to add nodes to Dagre layout with Cytoscape -