or
$(document).ready(function () { cboSite = $("#SiteId").kendoComboBox({ minLength: 2, suggest: true, autoBind: false, dataTextField: "text", dataValueField: "value", dataSource: { serverFiltering: true, serverPaging: true, datatype: 'json', transport: { read: { url: '@Url.Action("GetSites", "Equipment", new { area = "Equipment" })', data: { q: function () { return cboSite.text(); } } } } , schema: { data: function (data) { return data.result; } } } }).data("kendoComboBox"); });selectable: true
but the change event does not fire. Any ideas why it would be so?
dataSource = new kendo.data.DataSource({ transport: { read: {url:"<?=base_url()?>/bank"}, update: {url:"<?=base_url()?>/bank/update", type:"POST"}, destroy: {url:"<?=base_url()?>/bank/destroy",type:"POST"}, create: {url:"<?=base_url()?>/bank/create",type:"POST"}, }, error: function(e) { alert(e.responseText); }, batch: true, pageSize: 25, schema: { model: { id: "id_bank", fields: { nama_bank: { type: "string" }, } }}});//kendo grid$("#grid_bank").kendoGrid({ dataSource: dataSource, editable: "popup", height: 450, filterable: true, sortable: true, pageable: true, toolbar: ["create"], columns: [ { field: "nama_bank",title: "Nama", filterable: true }, { command: ["edit", "destroy"], title: " ", width: "160px" } ]});