I've got a Kendo Grid, which has another Kendo Grid within its detailTemplate. Both grids are editable.
If I set the child grid to editable: 'popup' then things seem to work as expected.
But if I set it to editable: 'inline' then the Save event for the child grid never fires.
I've created a plunkr to show this: http://plnkr.co/edit/l189m5dAN6Wptt94zjbu?p=info
Run as it is, "detail save" is never written to the console.
Change the detail to editable: 'popup' and it is.
Am I doing something wrong?
What is the best way to pass an external filter to a grid. Basically, I have a left side filter like this https://www.coursera.org/courses, and I want to link the filter to a kendo Grid to retrieve the results, what is the best way to do that? Does Kendo has a built-in way to do this?
Thanks,
I have a grid with editing set to inline. In one field I have a custom editor setup with a DropdownList. Tabbing out of the list editor after making a selection is acting strange, sometimes it works and other times the grid looses the focus. Sometimes the next cell does get the focus and the editor is shown but pressing a key does nothing, then pressing a key once more works.
The Kendo example below if you set navigatable: true it acts strange as well. It that normal behavior?
http://demos.telerik.com/kendo-ui/grid/editing-custom
Hi,
I use autoFitColumn function on the first column with a column object as parameter. But it seems that there is a bug because the function applies on the hierarchical column to compute its width.
I have updated the autoFitColumn function from this code :
var newColumnWidth = Math.ceil(Math.max(th.outerWidth(), contentTable.find("tr").eq(0).children("td:visible").eq(index).outerWidth(), footerTable.find("tr").eq(0).children("td:visible").eq(index).outerWidth()));to this code :
var newColumnWidth = Math.ceil(Math.max(th.outerWidth(), contentTable.find("tr").eq(0).children("td:visible:not(.k-hierarchy-cell)").eq(index).outerWidth(), footerTable.find("tr").eq(0).children("td:visible").eq(index).outerWidth()));I have added :not(.k-hierarchy-cell) on the selector.
I do not use any footer so there is certainly the same problem on the children selector.
What do you think about it ?
Thanks for your help.
Regards

I have a DropDownList which the user uses to select between different clients they are allowed to access. Switching clients can involve some disruption of the user experience (we're considering moving to a full page refresh), so I want to make sure that selection in the list only happens when the user has fairly positively confirmed a switch. Specifically I want to proceed to a change event in the cases where:
1. The user clicks an item in the list.
2. The user highlights an item in the list (for instance using the text search and/or keyboard navigation) and presses Enter.
but I want to prevent a change event in the case where the DropDownList is unopened in focus and the user presses Up, Down, Home, or other keyboard navigators by themselves - these should only "move the highlight" and not confirm a change.
I can't seem to find enough information in the select event to distinguish between these cases, so I can't use preventDefault() to control when a change happens. Am I missing some other avenue of approach here?
My stopgap for the moment is to force the component to always open its popup list whenever it takes focus using jQuery:
1.$("#clients").closest("span.k-dropdown").focus(function (e) {2. viewModel.dropdownlist.open();3. viewModel.dropdownlist.focus();4. }); "Item": "1", "Value": "840", "Location": [32.7, -97.744821] }]; function createMap() { $("#map").kendoMap({ center: [38.268107, -97.744821], zoom: 4, height: 400, layers: [{ type: "bing", imagerySet: "aerialWithLabels", key: "MyBingKey" }, { type: "bubble", dataSource: bubbles, locationField: "Location", valueField: "Value" }], shapeCreated: function (e) { alert('shape created'); } }); }
Right now I'm just trying to get familiar with the functionality of map bubbles to see if I can use them for what I need. Unfortunately I'm having an issue with the size of the bubbles. Everything I've read in the examples makes me think that changing the Value of the bubble should automatically change the size of the bubble. However, it doesn't seem to matter what I set the Value to, it is always the same size (about an inch diameter).
I'm not sure what I'm doing wrong.
Hi,
Can you help me with my dojo here? In this experiment I'm trying to redirect to the login-view. Doesn't work, neither in the change event nor in the route callbacks. Plus using the change event produces an infinite loop (on FF38).
Regards,
Kasimier Buchcik
I'm handling double-clicks on a treeview node like this:
$("#treeview [role=treeitem] span").on("dblclick", function(e){ var tree = $("#treeview").data("kendoTreeView"); var item = tree.dataItem($(e.target).closest("li")); });It works great until I enable dragAndDrop on the tree. If a node is dragged/dropped to another location, double-clicking on it no longer fires the "dblclick" event on the treeview.
You can test this here:
http://jsbin.com/fubajoyexe/edit?html,output
Just add "dragAndDrop: true," to the treeview configuration, then drag a node to another location. Double-click on that node and it no longer works. Do you know of any workarounds?
I have a grid with a number of related columns, and I need to be able to make some of the cells have background colors based on some of the fields of data in my dataSource. The fields that will be determining the background colors aren't the same ones as will be supplying the text in those cells.
For example the route column will have a background color based on the route color field and the vehicle column will have a background color based on the vehicle color field.
I also need to be able to set the colors based on RGB, not just by giving them a class.
Does anyone know how to do this?
I am having problems with the orientation of my menu.
No matter what I've tried, I cannot get it to be in a vertical orientation, it is always horizontal.
Here is my code:
HTML:
<div id="MyMenuFormat" hidden="hidden"> @SSRSAdministrationV2.Globals.GlobalVariables.MyMenuData</div><td style="width: 450px; text-align: left; border-style: solid; border-width: thin"> <div id="MyMenu" style="overflow-x: scroll; overflow-y: scroll; height: 550px; display: inline-block; width: 450px;"></div></td>
var MyMenuString = $('#MyMenuFormat').text();var MyMenuData = eval(MyMenuString);$(document).ready(function () { $('#MyMenu').kendoMenu( { orientation: "vertical", dataSource: MyMenuData, select: onMySelect } );});function onMySelect(e) { var item = $(e.item), menuElement = item.closest(".k-menu"), dataItem = this.options.dataSource, index = item.parentsUntil(menuElement, ".k-item").map(function () { return $(this).index(); }).get().reverse(); index.push(item.index()); for (var i = -1, len = index.length; ++i < len;) { dataItem = dataItem[index[i]]; dataItem = i < len - 1 ? dataItem.items : dataItem; } alert(dataItem.text + " " + dataItem.value);}
MyMenuData = "[ {value:0,text:"Item 1"}, {value:1,text:"Item 2"}, {value:2,text:"Item 3"}, {value:3,text:"Item 4"}, {value:4,text:"Item 5"}, {value:5,text:"Item 6"}, {value:6,text:"Item 7"}, {value:7,text:"Item 8"}, {value:8,text:"Item 9"}, {value:9,text:"Item 10"}, {value:10,text:"Item 11"}, {value:11,text:"Item 12"}, {value:12,text:"Item 13"}, {value:13,text:"Item 14"}, {value:14,text:"Item 15"}, {value:15,text:"Item 16"}, {value:16,text:"Item 17"}, {value:17,text:"Item 18"}, {value:18,text:"Item 19"}, {value:19,text:"Item 20"}, {value:20,text:"Item 21"}, {value:21,text:"Item 22}]"I am at my wits end. It's probably something really simple - I just can't see it.
Anyone have any ideas?
TIA,
Bob