Date is not sorting correctly in my grid. It seems that older dates than 2000 are not sorting correctly. In the database, the data type is datetime2.
Here is the code for the grid:
$("#reportsGridIn").kendoGrid({
selectable: "multiple",
sortable: {
allowUnsort: false,
initialDirection: "asc"
},
schema: {
model: {
fields: {
transDate: { type: "date" }
}
}
},
columns: [
{ field: "id", hidden: true },
{ field: "corporationName", title: "Corporation", width: 20 },
{ field: "transDate", title: "Trans Date", width: 18, template: "#= kendo.toString(new Date(parseInt(transDate.substr(6))),'MM/dd/yyyy')#", type: "date" },
{ field: "headline", title: "Headline", width: 38 },
{ field: "marketScope", title: "Market Scope", width: 25 }
]
});
Thanks,
Mike
Hello,
Please see this example provided by Kiril in my earlier post: http://dojo.telerik.com/IcIPoZ/4
Try selecting some text in the editable div, and using the Format tool to change the style, or to change the text or background colour.
Could you kindly suggest a work-around for this issue.
Many thanks.

Hi, Telerik Team
I am utilizing kendo treeview to show organizational structure of sales forces, and this tree is made of uncountable layers (hundreds or thousands, and even ten thousand nodes) Therefore, I hope that this treeview can only display the first layers, and by expanding tree nodes, child nodes will emerge from data transferred via web services. Is that possible for me to capitalize on functions of kendo treeview for the sake of achieving the feature, lazy loading mentioned.
Another question is that if overwhelming data, such as ten thousand nodes, is loaded in kendo treeview, will there be a performance issue encountered?
Could you please offer me some suggestions?
Thanks & Best Regards
James Shen

I notice an error while using Kendo MVC FluentAPI to generate a Datasource with additionnal data in the request URL.
Using this :
ds.Custom().Transport(t => t.Read(r => r.Action("GetUsers", "Application").Data(x => new { IncludeCurrentUser = false })
generate a javascript property of :
"data":{ IncludeCurrentUser = false }
and result in a javascript error of "Uncaught SyntaxError: Invalid shorthand property initializer"
The javascript should not be like C# writting but like "data":{ IncludeCurrentUser: false }

I have a kendo grid with in cell editing. I extended the validator to add a new validation rule and message. This is working correctly. However, I can't seem to change the default error template for the validation message. Here is the code used to extend the validator: (function ($, kendo) { $.extend(true, kendo.ui.validator, { rules: { uniqueTagName: function (input) { ... }, messages: { uniqueTagName: resources.Message_TagAlreadyExists }, errorTemplate: "<span>#=message# TEST</span>" });})(jQuery, kendo);
I can see from the console that when I look at kendo.ui.validator, the errorTemplate is changed to "<span>#=message# TEST</span>". However, when the (Name) element is validated, I get the default error template.
Through $("#Name").kendoValidator().data("kendoValidator"), i get this template:
<span class="k-widget k-tooltip k-tooltip-validation"><span class="k-icon k-warning"> </span> #=message#</span>
However,both validators have the extended rule and validation message.
I also tried to create a <span data-for="Name" class="k-invalid-msg"> as I have found somewhere in the documentation, but this seems to have no effect.
Hello!
I have some questions regarding the limitations of virtual scrolling and I am referring to your documentation: http://docs.telerik.com/kendo-ui/controls/data-management/grid/appearance#virtual-scrolling
1) "Virtual scrolling relies on a fake scrollbar. Its size is not determined
by the browser, but is calculated based on the average row height of
the data that is already loaded. As a result, variable row heights may
cause unexpected behavior, such as inability to scroll to the last rows
on the last page." and "Virtual scrolling relies on calculating the average row height based on
already loaded data. Having a large variance of row heights or an
unknown number of rows that are not bound to data (such as group
headers) might cause unexpected behavior:":
To prevent this, I am calling resize(true) on the grid widget every time the data is bound (dataBound event handler). It seems like this works, but am I missing something?
2) "Virtual scrolling is not compatible with grouping, hierarchy, and editing":
I am using a grid with batch editing mode, and it seems to work. Could you please share some details about what's not compatible with editing exactly?
And what are the known incompatibilities with grouping? I have found out, that the grid does not remember collapsed groups when the page size is crossed while scrolling and the next page of data items is bound to the grid, so the collapsed groups get automatically expanded again. Also, if a group is being collapsed, the space of the previous shown data items remains blank, instead of the next group being shown immediately below.
Thank you in advance for providing information about the grid virtual scrolling limitations of the current Kendo UI release version.
Best regards,
Kaan
i need to remove "Select All", N items selected & change the font of the text for checkboxes.
I was able to achieve first "Select All", but could you please help me figure out how to implement 2 left?
P.S - kendo ui for jquery
Thx Alex
,