kendo-ui

Kendo UI drop downs posting arrays

橙三吉。 提交于 2019-12-11 19:05:17
问题 Im using a Kendo UI listView with a template, how every when the form is submitted and the data is posted all dropdownlists are posted as an array. Thanks in advance!!! Heres my drop down lists in the template <input name="id_proof_clt" data-bind="value:id_proof_clt" data-value-field="value_opt" data-text-field="label_opt" data-option-label="Select" data-source="dsIdProof" data-role="dropdownlist" /> heres the array it posts id_proof_clt['id_opt'] id_proof_clt['category_opt'] id_proof_clt[

Make Command Button invisible in Kendo Grid

谁说我不能喝 提交于 2019-12-11 18:53:16
问题 I am new to kendo UI. In my code, columns are getting created as shown below. grid = $('#grid').kendoGrid({ columns: [ { width: 75, command: [{ name: "Tag", click: function (e) { try { } catch (ex) { alert(ex.message); } } }] }, { field: "Col18", title: "IsTag", width: 75 }, { field: "Col8", title: "System", width: 75 }, ], Now, in the databound, based on the value from datasource, they are changing the color of the row as show below. My issue is, if the color is green, I want to hide the

Kendo Grid validation message position issue

只愿长相守 提交于 2019-12-11 18:51:35
问题 The Kendo grid I developed has a validation message, but the arrow points to the column to the right. I cannot change anything in /kendo.default.min.css as this is located in a shared folder which should not be changed. Any help on this? dataSource: { data: data.ReportData, schema: { model: { fields: { ProposedDiscount: { validation: { required: true, proposeddiscountcvalidation: function (input) { if (input.val() != "" && input.is("\[name='ProposedDiscount'\]")) { input.attr("data

Is there a way to union multiple nodes based on ID or Text when using Kendo tree view?

和自甴很熟 提交于 2019-12-11 18:42:53
问题 I have 3 different object / node as below, and I am trying to form the finalObj / node which is the union (unique tree list) of the 3 nodes.. Is there a method in tree view with which I can union 3 objects (nodes) based on text or id ? First node: [ { text: "TreeRoot", items: [ { text: "Subgroup1" }, { text: "Subgroup2" } ]}] Second Node: [ { text: "TreeRoot", items: [ { text: "Subgroup3" } ]}] Third node: [{ text: "Subgroup3", items: [ { text: "subgroup5", items: [ { text: "subgroup6", items

Kendo UI Notifications and MVC

荒凉一梦 提交于 2019-12-11 18:41:43
问题 Does anyone tried Kendo UI notifications from MVC server side, like MvcFlashMessages? I want to show "succeed or error" notification after form submit(In my scenario, after form submit Controller action redirects to view with items list and i want to show succeed notification). Or maybe more different scenario like after grid item create/delete/edit notification show but notification must rise from server side if some errors occurs not only from JS. Thanks for attention. 回答1: First of all you

kendo treeview multiple node drag and drop

浪尽此生 提交于 2019-12-11 18:40:07
问题 I have One Kendo Tree-view with check-box. I am able to drag and drop single item(node).Now I want to drag and drop multiple Item(node). only those nodes will be drag and drop which check-box are checked. Please help me out how can be i implement this functionality......... for single drag and drop i am following this example---- http://demos.telerik.com/kendo-ui/web/treeview/dragdrop.html USER CAN ABLE TO DRAG AND DROP AS MANY NODES HE SELECTED IN CHECKBOX. According to MY RND Below code

Kendo UI Grid - Filter with Select Multi-Checkbox

纵饮孤独 提交于 2019-12-11 17:51:52
问题 Problem is that when I choose multiple checkbox and filter for something all checkbox selected returns to normal all checkbox's (un-checked) my question is : Can I do the checked some checkbox's and filter for something without do any changes on my rows checked please check photos in below : 1 - Checked some rows 2 - filter some rows where contains 'ss' 3 - here my problem, after press ok on filter get rows without checked when i'm using kendo ui v.2018 see image please help me!! Thanks UW.

Binding a kendo ui grid to a json file without generating the grid in code

泄露秘密 提交于 2019-12-11 17:46:16
问题 I'm trying to bind a kendo ui grid to a json file with no luck. All the examples I found were when creating the grid in code. I need to do it declaratively. Is it the same to put the dataSource separately in the scope as I did, or inside the "options"? If I set the "myDataSrc" to a simple array in code, the binding works. But as a " kendo.data.DataSource" from a file, it does not. <div kendo-grid k-options="options" k-data-source="myDataSrc"></div> $scope.myDataSrc = new kendo.data.DataSource

Selenium element Not selectable

橙三吉。 提交于 2019-12-11 17:45:56
问题 I am having an issue with an element which works with a mouse click and there are some items from which one has to be selected but its unselectable is set to on. whenever I try to select the elements I get back an error the element is not visible so may not be interacted with But the element is visible we are using a kendo UI multiselect please help The Html Code:- <div class="k-multiselect-wrap k-floatwrap" unselectable="on"> <ul id="ProfileEditSharedModel_SelectedIndustrySectorIds_taglist"

Kendo grid refresh issue in mobile

一世执手 提交于 2019-12-11 17:14:44
问题 I refresh the kendo grid for every 10 seconds, I used following code and I used the kendo.all.min.js $(document).ready(function () { loadData(); intervalManager(true, TableStatus, 10000); }); var TableStatus = function () { loadData(); } var refreshorderplacedgrid; function intervalManager(flag, animate, time) { if (flag) refreshorderplacedgrid = setInterval(animate, time); else clearInterval(refreshorderplacedgrid); } function loadData() { var grid = $("#grid").kendoGrid({ dataSource: { data