I found two minor ui glitches that appear when zooming a page that contains a grid:
1) Grid header and grid body are not well aligned when zooming a page that contains a grid. The border line of some column headers is not well aligned with the border line of the respective column in the body. The effect becomes more visible the higher the zooming level is. All the columns become well aligned again once any column has been resized. After resizing a column the effect can|t be reproduced anymore (until the page is reloaded).
2) Resizing cursor does appear when zoomed page is scrolled to the right. Please notice, I'm referring to the horizontal scrollbar of the browser window, not to the scrollbar of the grid. The resizing cursor is always available (for any column) as long as the scrollbar is on the leftmost position. Once the user scrolls to the right (even a little bit), the resizing cursor doesn't appear anymore for any column. This can also be reproduced in low zoom levels, when the horizontal scrollbar just appears. In this case there seems to be some kind of threshold, when scrolling a little bit to the right, the resizing cursor is still available, scrolling a little further, no resizing cursor.
Both issues can be reproduced in the online demos (e.g. column-resizing.html), but also in 2012 Q2 and 2012 Q3 Beta. As both problems appear in various browsers (Firefox 16, Chrome 22, in IE7-9 only the 2nd bug) I suspect these could be a problem in kendoUI.
and this as a binding:
kendo.data.binders.numericOnly = kendo.data.Binder.extend({
refresh: function () {
$(this.element).bind('keyup', function (evt) {
var charCode = (evt.which) ? evt.which : event.keyCode;
if (charCode != 46 && charCode > 31
&& (charCode < 48 || charCode > 57)) {
return false;
}
return true;
});
}
});
This is the latest thing i've tried. I've also attempted to use the 'refresh' to simply rewrite the bound value to not include any letters etc without any success. It seems as though the refresh is simply ignored to those properties bound in a template. it is initially called when a new array item is added to the viewModel.. but never called when the value is "refreshed".
Our team has been testing our Kendo UI Mobile app in IE 10 on Win8 and WinRT devices this week. Things are working fairly well, however, the default SVG for things like tab strip buttons aren't displaying. Is there a work around for this that you could recommend?
In this example http://demos.kendoui.com/web/grid/remote-data.html grid connected to remote service. But service doesn't described.
In Razor markup way controller method receives DataSourceRequest and returns DataSourceResult. Is it possible to do something similar? Maybe some sample..
I have some conditional formatting that changes row colors when a grid is databound. When a popup editor is invoked and then cancelled the background color of that row goes back to the default (I need to maintain it). I've tried capturing the close event like below, but that doesn't seem to work. Any suggestions?
Is there any way to prevent editing of the first row in a grid? I need to allow editing of the remainder of cells in the grid (based on the config), however, I want to prevent all editing for the entire first row.
Telerik JustCode is reporting several warnings about Kendo UI (kendo.mobile.*.css) files. See the attached screenshot..
Doesn't Kendo UI follow the rules and standards defined in JustCode? If it has nothing to do with Kendo UI, what's the problem with JustCode?
I would like to use inline editing with KendoUI grids in an MVC context, but can't at the moment for any data containing Date fields, because whenever I click the Update button (whether after creating a new record, or editing an existing one), even if I haven't changed the date field, I get a validation error (e.g. if the field is DateOfBirth)
"The field Date of Birth must be a date". (please see attached screenshot)
The date format I am setting for the Grid is dd MMM yyyy (because this is unambigous, whereas e.g 04 06 2012 is ambiguous and could mean either 4 June 2012 or 6 April 2012) and my pc (Windows 8, running Visual Studio 2012) is set up with UK regional settings.
(I have a support ticket set up for this, but no solution yet after 10 days), so am posting it here in case anyone else can help.
NB It has been suggested that I set the culture to "en-GB" (which I have never had to do before, including lots of other [non inline editing] use of KendoUI grids), but it didn't resolve the problem.