kendo-multiselect

Kendo MultiSelect make value to be selected and disable

不问归期 提交于 2020-05-31 10:08:07
问题 Need help here. I create a simple demo here and what I want to achieve from dataBound if checked='yes' node is selected and disable(apply k-state-disable) from edit. I try to set (selected,true) & (disabled,true) but seem it not working. DEMO IN DOJO <select id="multiselect"></select> $("#multiselect").kendoMultiSelect({ dataSource: { data: [ {id:1, Name: "John 1", checked: 'no'}, {id:2, Name: "John 2", checked: 'yes'}, {id:3, Name: "John 3", checked: 'no'}, {id:4, Name: "John 4", checked:

Custom filtering with multi-select drop downs

假如想象 提交于 2020-01-07 04:41:10
问题 I have a grid containing three multiselect controls in the toolbar which are to be used to filter the grid datasource based on selections made. At the moment, I have the below function, fired during a change event in any of the multiselect controls. This function accepts values containing the selected items in the multiselect control changed and filterID which is the field name to be used during the filtering. function applyClientFilters(values, filterID) { var grid = $("#grid").data(

Adding items to a Kendo multiSelect

为君一笑 提交于 2020-01-03 02:04:40
问题 I've got a Kendo Grid and on its DataBound event, I want to add its data source to a Kendo MultiSelect. So, when the data from the grid is loaded, the below function is fired. Here's what I have tried so far, without success, but from the code you can see what I intend: function addToMultiSelect() { var multiSelect = $("#multiSelect").data("kendoMultiSelect"); var grid = $("#grid").data("kendoGrid"); var places = grid.dataSource._data; for (var i = 0; i < places.length; i++) { var row =

Adding items to a Kendo multiSelect

家住魔仙堡 提交于 2020-01-03 02:04:21
问题 I've got a Kendo Grid and on its DataBound event, I want to add its data source to a Kendo MultiSelect. So, when the data from the grid is loaded, the below function is fired. Here's what I have tried so far, without success, but from the code you can see what I intend: function addToMultiSelect() { var multiSelect = $("#multiSelect").data("kendoMultiSelect"); var grid = $("#grid").data("kendoGrid"); var places = grid.dataSource._data; for (var i = 0; i < places.length; i++) { var row =

Extend Kendo MultiSelect

南楼画角 提交于 2019-12-24 18:57:13
问题 I'm trying to create a new kendo multi-select widget by extending the existing one. The goal is to show the tag list in a div below the input. My goal here in this code is to render the tag list in a separate div on the select event of the widget, and then return the select event of the base widget (Kendo MultiSelect), but the select event of the base widget returns a dataItem undefind error. What am I doing wrong? (function ($) { var customMultiSelect = kendo.ui.MultiSelect.extend({ init:

How to set initial values to Kendo UI MultiSelect with Remote Data Source

ⅰ亾dé卋堺 提交于 2019-12-13 19:17:23
问题 I've been trying to implement Edit scenario with Kendo UI MultiSelect bound to remote data source, with pre-selected values. When set to local data source, it works fine, although very slow on a list with 2k options (main reason that i'm using remote data source). How can i add selected values to MultiSelect when it is bound to remote data source? How can i add new items added through modal to MultiSelect selected values? Here's my HTML <div class="form-group"> @Html.LabelFor(model => model

how can I use same data source for Kendo chart and kendo multi select?

谁说胖子不能爱 提交于 2019-12-12 04:34:31
问题 I am using kendo angular chart and multiselect. Right now I am call same api twice to load the data in both. Is there any way to define multiple schema in same api call? My data is like following { "List": [ { "Name": "xyz", "Activation": "2016-12-08", "End": "2016-12-09", "Run": "45", "Status": "FAILURE", "color": "red" }, { "Name": "wqe", "Activation": "2016-12-07", "End": "2016-12-08", "Run": "46", "Status": "FAILURE", "color": "red" } ], "NameList": [ { "Name": "joo" }, { "Name": "foo" },

Kendo Multiselect value setting Bug

我的未来我决定 提交于 2019-12-05 03:26:10
问题 I having this weird problem with kendo multiselect. <input id="addTags" /><br> <input type="button" onclick="fillaList();" value="fill List" /> <input type="button" onclick="clearList();" value="Init List" /> var list=[{label:'tag1', value:'1'}, {label:'tag9', value:'9'}, {label:'tag8', value:'8'}, {label:'tag7', value:'7'}, {label:'tag6', value:'6'}, {label:'tag5', value:'5'}, {label:'tag4', value:'4'}, {label:'tag3', value:'3'}, {label:'tag2', value:'2'}]; function fillData(tagIds){ var

Kendo Multiselect value setting Bug

廉价感情. 提交于 2019-12-03 19:09:50
I having this weird problem with kendo multiselect. <input id="addTags" /><br> <input type="button" onclick="fillaList();" value="fill List" /> <input type="button" onclick="clearList();" value="Init List" /> var list=[{label:'tag1', value:'1'}, {label:'tag9', value:'9'}, {label:'tag8', value:'8'}, {label:'tag7', value:'7'}, {label:'tag6', value:'6'}, {label:'tag5', value:'5'}, {label:'tag4', value:'4'}, {label:'tag3', value:'3'}, {label:'tag2', value:'2'}]; function fillData(tagIds){ var tagObj = $("#addTags").data("kendoMultiSelect"); if (tagObj == undefined) { // if not loaded $("#addTags")