Hello there,
I'm developing a AngularJS (1) application and want to use the Grid widget with a virtual scrolling enabled.
Data comes from an API call which returns a JSON object in the following format:
{
gridOptions: { ... }
dataSource: { ... }
data: { Array[row objects] }
total: { ... }
}
A custom read() function is used to fetch new data from the server. It gives the above mentioned JSON object to the grid via e.success().
However when scrolling down the grid at first a request is made and when scrolling further down at a certain point new requests are started over and over, each with query parameters for the next and the previous data page, in alternating order. The data is never bound and the grid remains unusable.
I attached the JSON response from the server which contains gridOptions, dataSource and data.
I'd be really thankful if you could offer some advice on how to solve this.
Best regards
Hi, I'm having a problem that, while I'm posting a formulary (the submit actions is catched by the jQuery submit event) all kendo-directive componentes are removed from the DOM.
I think it probably have to do with something I've been doing outside, like a somekind of watcher, but it's strange because it only happens with some components (slider or editor, for instance, remain intact). And all other inputs (components that have nothing to do with kendo.ui itself) work just fine.
I was wondering, could It be possible that any watcher maybe interacting in a bad way with the kendo inputs?
All others like numeric-text-box, date-picker, date-time-picker, time-picker, etc. All have this problem.

I am trying to build grids using Kendo - Angular2. I am generating the grid completely dynamically from the Json data. I want to apply styling to few columns based on the column name. By using the below code, I am able to generate the grid, but couldn't able to apply styling to few columns based on the column name.
<kendo-grid [kendoGridBinding]="gridData" [pageSize]="10" [pageable]="true" [sortable]="true" [groupable]="true" [height]="370">
<kendo-grid-column *ngFor="let col of columns" field="{{col.Name}}" title="col.Name" [sortable]="true">
</kendo-grid-column>
</kendo-grid>
My Json structure.
{
"Id": "ALFKI",
"CompanyName": "Alfreds Futterkiste",
"ContactName": "Maria Anders",
"ContactTitle": "Sales Representative",
"Address": "Obere Str. 57",
"City": "Berlin",
"PostalCode": "12209",
"Country": "Germany",
"Phone": "030-0074321",
"Fax": "030-0076545"
}
So when I load the treelist initially it appears fine. Due to user input I need to clear the treelist and redraw with new data. My second transport read is happening properly yet my treelist shows completely empty. It appears that the treelist is not happy with redrawing after everything is databound.
I call treelistoptions.dataSource.read() and I see it enter transport.read and read successfully then calling options.success(mydata); yet I see no data. When I destroy my control and re-enter it then appears fine.
I have tried passing the collection to treelistoptions.dataSource.data(mydata) and have had no luck with that either.
Thanks
-Craig

I'm having some trouble getting my nested listviews to sort properly. I have a parent list view that can have 1+ child listviews. I want to be able to sort each listview individually, eg. be able to sort all of the children inside of their parent.
Here is what I currently have for the parent listview and then all of the child of it:
$("#baSurveyGroupTemplateListView").kendoSortable({ handler: ".handle", connectWith: ".childBaSurveyGroupTemplate", filter: "> .baSurveyGroupPanel", axis: "y", cursor: "move", hint: function (element) { return element.clone().addClass("hint"); } placeHolder: function (element) { return element.clone().addClass("policy-section-panel-placeholder").text("Drop Here!"); }, change: function (e) { alert(e.oldIndex); alert(e.newIndex); }, ignore: ".childBaSurveyGroupTemplate >.baSurveyGroupPanel", autoScroll: true});$(".childBaSurveyGroupTemplate").kendoSortable({ handler: ".test-handle", connectWith: "#baSurveyGroupTemplateListView", filter: "> .baSurveyGroupPanel", axis: "y", cursor: "move", hint: function(element) { return element.clone().addClass("hint"); }, placeholder: function(element) { return element.clone().addClass("policy-section-panel-placeholder").text("Drop Here!"); }, autoScroll: true});
Here is a simple breakdown of the HTML structure with a Parent ListView followed by two child listviews:
<div id="baSurveyGroupTemplateListView"> <div class="panel panel-default baSurveyGroupPanel"> <div class="panel-heading"> <h4 class="panel-title">Title</h4> </div> <div class="panel-body"> <div class="childBaSurveyGroupTemplate"> <div class="panel panel-default baSurveyGroupPanel"> <div class="panel-heading"> <h4 class="panel-title">Title</h4> </div> </div> <div class="panel panel-default baSurveyGroupPanel"> <div class="panel-heading"> <h4 class="panel-title">Title</h4> </div> </div> </div> </div> </div> <div class="panel panel-default baSurveyGroupPanel"> <div class="panel-heading"> <h4 class="panel-title">Title</h4> </div> <div class="panel-body"> <div class="childBaSurveyGroupTemplate"> <div class="panel panel-default baSurveyGroupPanel"> <div class="panel-heading"> <h4 class="panel-title">Title</h4> </div> </div> <div class="panel panel-default baSurveyGroupPanel"> <div class="panel-heading"> <h4 class="panel-title">Title</h4> </div> </div> </div> </div> </div></div>
So my goal here is to be able to sort each child within its parent. With the current JavaScript I am able to successfully sort the child panels of the #baSurveyGroupTemplateListView but when I try and sort the child panels of the .childBaSurveyGroupTemplate ListViews it ends up just moving the parent ListView.
I thought by telling the #baSurveyGroupTemplateListView to ignore ".childBaSurveyGroupTemplate >.baSurveyGroupPanel" and to filter "> .baSurveyGroupPanel" that I would be able to sort the children separately but that doesn't seem to be the case here.

Hi team,
Please update french localization for kendo.messages.fr-xx.js of the 2 items below :
"headerStatusUploaded": "Done", --> my suggestion : "Terminé"
"headerStatusUploading": "Uploading..."--> my suggestion : "Téléchargement..."
Best regards.

We are using this control in timeline mode in one of our products and with growing number of resources and events the control became really slow in rendering (initially and after any navigation). As in an example below, it behaves as described even without events, just with 500 rows of resources:
http://dojo.telerik.com/IxAwe/3.
We are looking forward to any advice how to improve user experience with such amount of data (we can't always filter resources or events just because we have to show all perspective in most common view).

I have a dojo with a toolbar set up pretty nicely here:
http://dojo.telerik.com/iKigI/2
What we want to do is have multiple overflows. So, for example, the first section would overflow into a section called File. The second section would collapse into a section called Edit. The third into a section called View. Etc. I attempted to make this work by putting toolbars within the toolbar but the overflow doesn't seem to work when it's put together this way
Here's the dojo I put together attempting this:
http://dojo.telerik.com/aBAPi/10
Hi Team,
I am facing issues with visualizing a kendotree after updating the kendo ui to the latest Kendo UI v2017.1.223 from 2012 version.
Input:
<ul class="tree-level-1" xmlns="">
<li class="">
<span class="leaf packageType">Digital Studio Images</span>
<span class="frequency">( 18 )</span>
<ul class="tree-level-2">
<li class="">
<span class="leaf brand">Allure</span>
<span class="frequency">( 1 )</span>
<ul class="tree-level-3">
<li class="final">
<span class="leaf packageName">AL Digital Studio</span>
<span class="frequency">( 1 )</span>
</li>
</ul>
</li>
</ul>
<ul class="tree-level-2">
<li class="">
<span class="leaf brand">Bon Appetit</span>
<span class="frequency">( 2 )</span>
<ul class="tree-level-3">
<li class="final">
<span class="leaf packageName">BA Digital Studio</span>
<span class="frequency">( 1 )</span>
</li>
</ul>
<ul class="tree-level-3">
<li class="final">
<span class="leaf packageName">BA Web Digital Studio</span>
<span class="frequency">( 1 )</span>
</li>
</ul>
</li>
</ul>
<ul class="tree-level-2">
<li class="">
<span class="leaf brand">Cargo</span>
<span class="frequency">( 1 )</span>
<ul class="tree-level-3">
<li class="final">
<span class="leaf packageName">Cargo Digital Studio</span>
<span class="frequency">( 1 )</span>
</li>
</ul>
</li>
</ul>
<ul class="tree-level-2">
<li class="">
<span class="leaf brand">Glamour</span>
<span class="frequency">( 2 )</span>
<ul class="tree-level-3">
<li class="final">
<span class="leaf packageName">GL Digital Studio</span>
<span class="frequency">( 1 )</span>
</li>
</ul>
<ul class="tree-level-3">
<li class="final">
<span class="leaf packageName">GL Digital Studio 2007</span>
<span class="frequency">( 1 )</span>
</li>
</ul>
</li>
</ul>
<ul class="tree-level-2">
<li class="">
<span class="leaf brand">Golf</span>
<span class="frequency">( 2 )</span>
<ul class="tree-level-3">
<li class="final">
<span class="leaf packageName">GW Digital Studio</span>
<span class="frequency">( 1 )</span>
</li>
</ul>
<ul class="tree-level-3">
<li class="final">
<span class="leaf packageName">Golf Digest Digital Studio</span>
<span class="frequency">( 1 )</span>
</li>
</ul>
</li>
</ul>
<ul class="tree-level-2">
<li class="">
<span class="leaf brand">Gourmet</span>
<span class="frequency">( 2 )</span>
<ul class="tree-level-3">
<li class="final">
<span class="leaf packageName">Gourmet Book Digital Studio</span>
<span class="frequency">( 1 )</span>
</li>
</ul>
<ul class="tree-level-3">
<li class="final">
<span class="leaf packageName">Gourmet Digital Studio</span>
<span class="frequency">( 1 )</span>
</li>
</ul>
</li>
</ul>
<ul class="tree-level-2">
<li class="">
<span class="leaf brand">Teen Vogue</span>
<span class="frequency">( 7 )</span>
<ul class="tree-level-3">
<li class="final">
<span class="leaf packageName">TV DS 201302</span>
<span class="frequency">( 1 )</span>
</li>
</ul>
<ul class="tree-level-3">
<li class="final">
<span class="leaf packageName">TV DS 201308</span>
<span class="frequency">( 1 )</span>
</li>
</ul>
<ul class="tree-level-3">
<li class="final">
<span class="leaf packageName">TV DS Web 2013 B</span>
<span class="frequency">( 1 )</span>
</li>
</ul>
<ul class="tree-level-3">
<li class="final">
<span class="leaf packageName">TV Digital Studio</span>
<span class="frequency">( 1 )</span>
</li>
</ul>
<ul class="tree-level-3">
<li class="final">
<span class="leaf packageName">TV Digital Studio 2014</span>
<span class="frequency">( 1 )</span>
</li>
</ul>
<ul class="tree-level-3">
<li class="final">
<span class="leaf packageName">TV Digital Studio 2015</span>
<span class="frequency">( 1 )</span>
</li>
</ul>
<ul class="tree-level-3">
<li class="final">
<span class="leaf packageName">Teen Vogue Digital Studio</span>
<span class="frequency">( 1 )</span>
</li>
</ul>
</li>
</ul>
<ul class="tree-level-2">
<li class="">
<span class="leaf brand">Vogue</span>
<span class="frequency">( 1 )</span>
<ul class="tree-level-3">
<li class="final">
<span class="leaf packageName">Vogue Digital Studio</span>
<span class="frequency">( 1 )</span>
</li>
</ul>
</li>
</ul>
</li>
</ul>
Script:
// Enable browse tree
$("#treeView").kendoTreeView({
select: function(e) {
var treeview = $("#treeView").data("kendoTreeView");
var node = e.node;
treeview.expand(node);
}
});
Only the first node second level node expands. On investigating the treeview HTML generated in the source, i see the <data-uid> attribute property not forming for the second level data except for Digital Studio Images--> Allure--> AL Digital Studio(this alone expands).
Also, there is an error thrown in the background:
Uncaught TypeError: Cannot read property 'uid' of undefined
at init._syncHtmlAndDataSource (http://digitalarchivedev.condenast.com/resources/js/kendo.all.min.js:64:30695)
at init._syncHtmlAndDataSource (http://digitalarchivedev.condenast.com/resources/js/kendo.all.min.js:64:30878)
at init._syncHtmlAndDataSource (http://digitalarchivedev.condenast.com/resources/js/kendo.all.min.js:64:30878)
at new init (http://digitalarchivedev.condenast.com/resources/js/kendo.all.min.js:64:29252)
at HTMLUListElement.<anonymous> (http://digitalarchivedev.condenast.com/resources/js/kendo.all.min.js:26:4368)
at Function.each (http://digitalarchivedev.condenast.com/resources/js/jquery-1.12.3.min.js:2:2881)
at a.fn.init.each (http://digitalarchivedev.condenast.com/resources/js/jquery-1.12.3.min.js:2:846)
at a.fn.init.e.fn.(anonymous function) [as kendoTreeView] (http://digitalarchivedev.condenast.com/resources/js/kendo.all.min.js:26:4345)
at HTMLDocument.<anonymous> (http://digitalarchivedev.condenast.com/resources/scripts/packageManager.js:36:20)
at i (http://digitalarchivedev.condenast.com/resources/js/jquery-1.12.3.min.js:2:27449)
Appreciating your help on why the second level tree elements are not expanding due to the above error. If data-uid property missing is the problem, why it is not getting formed?
I have code running in my dataBinding event for my scheduler that only runs if it is a 'rebind' event. However, there is a place in my code where I want that code to run, so doing something like:
scheduler.trigger('dataBinding') triggers the dataBinding event... but doesn't give it an action, like 'rebind', which I need it to have to run that code.
Is there a way to trigger a rebind dataBinding event manually in my javascript?