Hi,
I want to make expand arrow on grid just to expand child items not to select this row.
I was trying to attach to event "detailExpand" but there I can only clear selection which I don't want to happen.
When using the Kendo Grid with a virtual scroller I have noticed that when I roll the wheel on my Microsoft Mouse one click there is no action. On the second click It will roll 4 rows.
Comparatively, in the Silverlight RadGrid View, the scroller moves 2 rows on each mouse click turn.
Is there a setting, in the Kendo grid to allow the mouse wheel to be more responsive?
I want to apply [ChildActionOnly] attribute to the action method used by kendo ui grid DataSource as in
.DataSource(dataSource => dataSource
.Ajax()
.Read(read => read.Action("Read", "Conrtoller"))
but when I apply [ChildActionOnly] to Read(), everytrhing stops working
Hi,
I'm struggling to get a combination between a stackes bar and line chart. I have seen the examples (http://demos.telerik.com/kendo-ui/bar-charts/multiple-axes) basicly this is what I need. The only problem that I have json datasource (from a webapi).
How can I accomplish this.
01.$("#chart").kendoChart({02. theme: "Bootstrap",03. dataSource: {04. transport: {05. read: {06. url: "/api/meters/GetIndividueleMeters/07. dataType: "json",08. method: "get"09. }10. },11. group: {12. field: "Naam",13. dir: "asc"14. },15. sort: {16. field: "Datum",17. dir: "asc"18. },19. requestStart: function () {20. kendo.ui.progress($("#loading"), true);21. },22. requestEnd: function () {23. kendo.ui.progress($("#loading"), false);24. 25. }26. },27. legend: {28. position: "bottom"29. },30. seriesDefaults: {31. type: "column",32. stack: true33. },34. series: [{35. field: "Waarde"36. },> here is something needed I presume
],37. categoryAxis: {38. field: "DatumString",39. labels: {40. rotation: -4541. }42. },43. tooltip: {44. visible: true,45. template: "#= value # / #= series.name #"46. },47. dataBound: function (e) {48. 49. $(".Laadtekst").hide();50. 51. if (this.dataSource.data().length == 0) {52. $(".GeenGegevensTekst").show();53. }54. else {55. $("#chart").show();56. }57. }58. });Thanks
$(document).ready(function () { var grid = $("#Grid").data("kendoGrid"), mvcTransport = new kendo.data.transports["aspnetmvc-ajax"](); grid.dataSource.transport.parameterMap = function (options, type) { if (type === "update" || type === "create") { var d = new Date(options.Startdate); options.Startdate = kendo.toString(new Date(d), "yyyy-MM-dd"); } return mvcTransport.parameterMap(options, type); };});We are trying to convert from using the normal kendo grid to using a tree list grid for one of our features.
With the normal grid when the footertemplate is executed it is provided the full set of aggregates from the datasource. This allows us to perform a calculation from two different aggregates and apply to custom html.
The tree list footertemplate is called with the aggregate for that column / field only, it is wrapped in a way that you cannot access the rest of the aggregate object even though they are available in the datasource. Because we are using shared templates it is not convenient to go to the datasource by #element to get the rest of the aggregates. The IIF that wraps the execution of the template is not called with the context of the datasource being 'this' so we are not able to get any more information but the individual field aggregate.
Why can't the two grids / datasources work the same way with footertemplates?
Thanks,
Rob.
Hi There,
I am trying to get reference of the kendo-grid and then want to get the current dataItem, but followng code fails cause the
element.closest('kendo-grid').getKendoGrid()returns undefined. Can anyone help me out as I am not able to find the correct answer anywhere.
Thank You,
Nilesh