Hello All,
We've integrated Kendo Grid into our application and it
works ok. But only until we lock any column in it - let's say we want first
column to be always available while horizontal scrolling.
When the column is locked, grid's performance falls
drastically. For instance, here is a statistic from profiler while doing
columns reordering.
Some info about grid:
Thanks a lot beforehand
Hello,
thank you for implementing this useful functionality. I have a few of comments and suggestions to it.
1) Hiding scroll buttons
Currently, a scroll button is hidden every time there's no possibility to scroll any further in the respective direction. The problem is it's being hidden using style attribute instead of attaching CSS classes (k-disabled e.g.) which would be much more convenient in case you need to adjust design of it (without using !important directive).
2) Navigation is not automatically scrolled to the active tab after screen resolution / viewport is changed
I found a not perfect workaround using tabStrip.activateTab(tabStrip.select()) to achieve this, but automatic solution would be nicerII
I'm looking forward to your opinions.
As show in this demo. Seems sortable made inline editing input box of grid disabled(But click edit button).
I did some research. The walkaround is to get grid ignore input box.
I have setup currentGrid.table.kendoSortable({ignore: ".background-color-white, input"} which seems work.
Can anyone from Kendo team confirm this is the right way to ignore multiple class?
I have a kendo grid defined as below:
$("#myGrid").kendoGrid({ dataSource: { read: { url: "/getData", dataType: "json" }, schema: { model: { id: "myId", fields: { myId: {}, field1: {}, field2: {}, } } } }, columns: [{ field: "field1", title: "Field 1" }, { field: "field2", title: "Field 2" }]});
But on loading the page, no data read request is fired. Please advise what I did wrong here?
Thanks,
$("#projectSponsor").kendoDropDownList({ dataTextField: "name", dataValueField: "id", dataSource: projectSponsorDataSource, autoBind: true, change: projectUpdate });function projectUpdate() { //Update the data item related to the selected projectsGrid row and call sync() var grid = $("#projectsGrid").data("kendoGrid"); var dataItem = grid.dataItem(grid.select()); dataItem.title = document.getElementById("projectTitle").value; dataItem.budget = $("#projectBudget").data("kendoNumericTextBox").value(); dataItem.sponsor = $("#projectSponsor").data("kendoDropDownList").value(); dataItem.manager = $("#projectManager").data("kendoDropDownList").value(); dataItem.status = $("#projectStatus").data("kendoDropDownList").value(); dataItem.phase = $("#projectPhase").data("kendoDropDownList").value(); dataItem.chartCode = $("#projectCIPcode").data("kendoDropDownList").value(); dataItem.startDate = $("#startDatePicker").data("kendoDatePicker").value(); dataItem.endDate = $("#endDatePicker").data("kendoDatePicker").value(); dataItem.dirty = true; grid.dataSource.sync();}$("#calcParameters").kendoGrid({ //dataSource: data.marketSectors, selectable: "single", editable:true, resizable: true, pageable: false, sortable: true, scrollable: true, navigatable: true, serverFiltering: true, toolbar: [{name: "addNew", text: "Add Record", click: function(){alert('hi');}}, "cancel"], columns: [ {field: "recordId", hidden:true}, {field: "premiumRetentionFactor", title: "Retention Factor", template: "<div> #= kendo.toString(premiumRetentionFactor, 'p0') #</div>" }, {field: "dividendRetentionFactor", format: "{0:p0}", title: "Return Factor", editor:percentEditor}, { command: ["destroy"], title: " ", width: 125} ], save: function(e) { e.model.updated = true; } });toolbar.enable works with buttons and splitButtons but not with menuButtons (subitms of splitButton)

Greetings,
I have a grid which displays a ClientDetailTemplateId for additional details that won't fit horizontally on the page. I'm trying to wire-up a Kendo chart into that template, but I am receiving "Invalid template" errors. I was hoping someone could help me fix this up.
The template looks something like this:
@using Inventory.Models.Reservation<script id="​reservedAmountsTemplate" type="text/kendo-tmpl">@(Html.Kendo().Chart<ReservedAmountsViewModel>() .Name("chart_#=ReservationId#") .Title(title => title .Text("​Title!") .Position(ChartTitlePosition.Bottom)) .Series(series => { series.Pie(new dynamic[] { new {category = "​Test1", value = 53.8}, new {category = "​Test2", value = 16.1}, }); }) )</script>The error is your standard "Unhandled exception at line 9, column 7418 in http://localhost:9244/Scripts/kendo/2015.2.805/kendo.all.min.js
0x800a139e - JavaScript runtime error: Invalid template".
Thanks in advance!