
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
,
Hello,
We use several different kendo widgets on the page at the same time. We also have many editable divs. To not flood the DOM, I'm instantiating the editor on focus event for an editable div, and on focusout I'm wanting to destroy the widget and remove the DOM it has created.
I see that the documentation states that the added DOM must be removed manually. How do I determine which widgets the editor has created, so that I remove only those and none of the other widgets?
Thanks
{ Id: { type: "number" }, Name: { type: "string" }, Nested: [ { Id: { type: "number" }, Name: { type: "string" } } ]}So, the corresponding html form reflects this model.
What I am having more trouble finding than I think I should is an example that combines the following:
I have struggled far too much trying to work out how to combine a model, datasource, viewmodel, etc. into a cohesive whole that actually works.
Very frustrating as the value add for Kendo UI is clear - but not if it take a week to learn how to use one component of the framework.
Is there an example / demo covering this functionality that I may have missed? It seems like such a simple thing, I find it hard to believe there isn't one - but I really can't find it...
To be clear, I am NOT looking for a Grid sample, nor dropdown lists, etc. but a normal HTML form with text inputs, etc.
Richard