Taking the example grid in index.html and adapting it so it uses a local data source, I get "Nan - Nan of 3 items" for this source:
var movies = [
{ title: "Star Wars: A New Hope", year: 1977 },
{ title: "Star Wars: The Empire Strikes Back", year: 1980 },
{ title: "Star Wars: Return of the Jedi", year: 1983 }
];
var localDataSource = new kendo.data.DataSource({ data: movies });
$("#grid").kendoGrid({
dataSource: localDataSource,
I am trying to build a dashboard using telerik kendo with at least 3 template and a drop down panel from where i need to drag and drop to those template ...
am using
<div kendo-sortable class="col-sm-4 placeholder" id="side"
k-connect-with="'#main'"
k-placeholder="placeholder"
k-hint="hint"
k-filter="'.widget'"
k-on-change="dropped(kendoEvent)" style="width: 180px">...</div>
AND
<div kendo-sortable class="col-sm-8 placeholder" id="main"
k-connect-with="'#side'"
k-placeholder="placeholder"
k-hint="hint"
k-filter="'.widget'"
k-on-change="dropped(kendoEvent)">....</Div>
but by using this i can create only one template how to create rest.
/*** Kendo UI Beta v2014.3.1029 ***/ We've tested the brand new TreeList today. The new TreeList needs... > checkboxes > columns should be resizeable > column reordering > frozen columns events > collapsed > expanded Take a look at the "famous" Grid / TreeList... Regards Stefan Wolf
Support for the angular 1.3 version
The mobile application exposes an 'init' event when the application has initialised. This would be useful on all UI widgets, especially in circumstances when MVVM is not being used, for example to check whether other widgets are also initialised and perform actions accordingly.
When setting the 'useNativeScrolling' to true in 'app.js', the rendering of a drawer is effected. Additionally, trying to scroll on the drawer actually scrolls the view (which will be partially off the screen). Some views will not need native scrolling so it would be beneficial to have the option to choose which views use native scrolling and which do not. I am aware there is the data-use-native-scrolling attribute but this seems to have the same problem as 'useNavtiveScrolling' in 'app.js'.
When trying to swipe up/down a form or left and right for the drawer menus when there are several textboxes/labels it doesn't always work. This happens when the user starts the swipe action over a textbox/label. If the user starts to swipe over a grey area (background) it works perfectly every time.
Mobile Date & Time Pickers would allow much easier use for inputting dates and times into a mobile ui. The web date & time pickers use a drop down that is not the best solution for mobile use.
Bug in KendoUI ContextMenu sample
See: http://demos.telerik.com/kendo-ui/menu/context-menu
There is a line of code in this sample:
menu.getKendoContextMenu().destroy();
Which seems to use a "getKendoContextMenu()" method which is nowhere to be seen in the sample or the docs. Was it omitted from the sample? "menu" here is: var menu = $("#menu") so it is a jQuery object, so further reason to doubt menu.getKendoContextMenu() is valid.
Regarding KendoUI ContextMenu close() method- I believe there is a flaw in the API docs and in the TypeScript typings file. See below:
See API docs at: http://docs.telerik.com/kendo-ui/api/javascript/ui/contextmenu
In the sample for the close method on this page, it has this portion:
// get a reference to the ContextMenu widget
var contextMenu = $("#context-menu").data("kendoContextMenu");
// close the ContextMenu
contextMenu.close(100, 100);
The "100, 100" params passed here are not needed and looks to be a copy paste from the open() method sample in the api docs. The open() sample passes (100, 100) as x/y coordinates.
Regarding the TypeScript kendo.all.d.ts file the ContextMenu class has this definition for close:
close(element: Element): kendo.ui.ContextMenu;
close(element: JQuery): kendo.ui.ContextMenu;
But again, I believe it should take no params.
Please let me know if you confirm this to be the case and if you fix the typings file. Thanks!
Hello: I need to move a horizontal column in a grid table, and too i need move a window at the same time. We can do this now? If possible do, what it is the method to do that?
We need to place the axis labels on the tick marks for the column series chart instead of between them.
This is quite important especially in finance where we would want to overlay graphs with other graphs data for analysis. Also would be good to enhance the controls to have more functionality such as min\max lines etc.
f I have a columns like columns: `[{field: "Address.City"}]`, then it fails if Address is null.
Uncaught TypeError: Cannot read property 'City' of undefined
Expected: to handle nulls in parts of path in the same way as nulls in the leaf (e.g. City in this example). Not doing this, means we can't use the default template, sort or group functions on nested properties.
Simple Dojo snippet to repro.
http://dojo.telerik.com/AGeTo
HTML5 Diagram Control - allow scrolling in the control
HTML5 Diagram Control - Allow to customize our own shapes and colors
When creating an element to make into a dropdown you can add the attribute 'required'. Instead of this it would be better if the external wrapper was made required so the browser has an element it can focus on, rather than erroring when the page is submitted and validated by the browser.
The SignalR demo does not work in IE8. I can add records, but not view changes to records made to them. The error that displays is: Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0C; .NET4.0E; InfoPath.3; MS-RTC LM 8) Timestamp: Tue, 7 Oct 2014 15:06:04 UTC Message: Object doesn't support this property or method Line: 29 Char: 13 Code: 0 URI: http://demos.telerik.com/kendo-ui/content/shared/js/example-datasources.js Please fix your demo.
Like jQuery 2.0, a version that leaves behind the older Internet Explorer 6, 7, and 8 browsers. In return it is smaller, faster, and can be used in JavaScript environments where the code needed for old-IE compatibility often causes problems of its own
The new filter row is great, but the sizing of the filter controls is really bad. If the columns are wide, space is wasted, and if they are narrow the filters are almost unusable. Here's an example implementation that takes care of resizing the controls when the columns resize or when fitlers are applied: http://jsbin.com/wipazupexaqi/3/edit Also, for further reference: http://www.telerik.com/forums/grid-filter-row-auto-size---solution