When attempting to find my column template using
var userActivityTemplate = kendo.template(this.columns[9].template);
I am receiving the following error:
Uncaught TypeError: Cannot read property 'template' of undefined at init.excelExport (user-task-summary.js:328) at init.trigger (kendo.all.min.js:25) at init.<anonymous> (kendo.all.min.js:30) at Object.proxy (jquery-2.1.4.js:512) at Object.<anonymous> (jquery-2.1.4.js:3256) at fire (jquery-2.1.4.js:3099) at Object.add [as done] (jquery-2.1.4.js:3145) at Array.<anonymous> (jquery-2.1.4.js:3255) at Function.each (jquery-2.1.4.js:374) at Object.<anonymous> (jquery-2.1.4.js:3252)
It appears that when using multiple header rows, the template is not a defined key.
Here is my multiple header column definition
{ title: "Activity", columns: [ { field: "estimatedHours", title: "Estimated" }, { field: "userActivityMinutes", title: "User", template: function (dataItem) { return FormatMinutesToHours(dataItem.userActivityMinutes); } }, { field: "activityTotalMinutes", title: "Total", template: function (dataItem) { return FormatMinutesToHours(dataItem.activityTotalMinutes); } } ] }
attached is the console output with the column definition expanded.
Can you tell me the proper way to locate the template definition in this scenario?
Thank you
We have several views (used for data-visualization) in our web-app. Each view can be opened in a virtual tab, inside our web-app. Every view has a whole bunch of kendo widgets that we can use to manipulate the data. In the end, we can close the virtual tab. At a given time there can be several such tabs opened and the user can open or close more tabs as per his choice.
Data for each virtual tab is loaded through ajax while opening the tab, after which all kendo widgets are 'initialized'. Similiarly when we close the tab, all kendo widgets are destroyed using the 'destroy' method of the widget.
There is a huge performance drop while initializing and destroying the kendo widgets in each tab. Is there a way that the kendo widgets can be destroyed efficiently?

Hi there,
When using kendo Validator - is there a configuration option to set the focus to the first invalid field?
With the current application I am working on there are several long forms - it would be beneficial if the browser scrolled to the invalid field.
I can see how to do this easily with jQuery validate - but I can't seem to see an obvious extension point to do this with kendo Validator?
Thanks,
Paul
Hi,
I'm using existing sample project posted on net for Kendo grid with custom pop up editor. This works fine. That means Adding/Editing records works.
However , as per requirement Instead of standard textbox, we are suppose to use rich text box editor. So, when I use RTE (Rich text editor) for adding /editing records it works fine only
1. If I do not apply any of the RTE functionality (E.g. Bold/Italic/underline).
however when I apply any RTE functionality (E.g. Bold or Italic or underline) on text and click on Update then following things happens ,
1.As soon as I move my cursor control out of RTE then behind the scene grid show that entry with little red mark (which also happens above case as well)
2. However no Control action method gets called and Pop up window never closes.
Please note, I tried with different Permutation and combinations of .Encode() but it didn't worked. Pop up window never closes and no controller action methods gets called.
I'm attaching my code images and output.


I am very close to getting this working with all the help within the forums, I appreciate all the people whom have taken the time to post!! Including the KENDO administrators!
I can read json withing my transport with no issues and even do an update with no issues BUT after the update when I requery the database sometimes the grid is not refreshed with the new data but the database and the degugging shows the correct data. I use this onclick function to requey the database and was wondering if it is correct.
Thanks again!!
01.function getData(){02. 03. var spreadsheet = $("#spreadsheet").data("kendoSpreadsheet");04. var sheet = spreadsheet.activeSheet();05. sheet.dataSource.transport.options.read.url = "index.cfm?event=general.excel&action=load&startDate=" + $('#startDate').val() + "&endDate=" + $('#endDate').val() + "&lobID=" + $('#area').val(); 06. sheet.dataSource.read();07. 08. 09. $('#spreedsheetGrouping').show();10. 11.} //end getData
Hi how can i close second level nodes please.
https://s10.postimg.org/8ouy6zo95/Capturar.jpg
Thank you

Hello,
I used spreadsheet to open an xlsx file like in this demo (http://demos.telerik.com/kendo-ui/spreadsheet/server-side-import-export), but I found a problem with the filters in the excel file. In the "filter by value" zone, it appears only "all" , the other values doesn't appear , also for the "filter by Condition" zone when I try to find some value the filter doesn't work, it only changes the color of the arrow icon but all the values still exists.
As for the excel file I created a simple excel file with some filters. I noticed that the filters works only if I used an excel file that I have already used its filters in Microsoft excel.
I used
below the code that I used
HomeController.cs:
public string GetJsonExcel(string fileName1)
{
var fileName = fileName1.Replace("***", "'");
string pathF = ConfigurationManager.AppSettings["PathDocs"].ToString();
var physicalPath = Path.Combine(pathF, fileName);
var workbook = Workbook.Load(physicalPath);
return workbook.ToJson();
}
Index.cshtml:
<div id="spreadsheet" style="width: 100%; height: 99%"></div>
<script>
$("#spreadsheet").kendoSpreadsheet();
var spreadsheet = $("#spreadsheet").data("kendoSpreadsheet");
$.getJSON(generateUrlWithParam("Home", "GetJsonExcel", "fileName1", "spreadsheet with file after using filters in microsoft excel.xlsx"))
.done(function (sheets) {
spreadsheet.fromJSON(sheets);
});
});
</script>
Best regards,

I am checking out KendoUI for Angular.
The DataQuery component mentions mvc integration (http://www.telerik.com/kendo-angular-ui/components/dataquery/mvc-integration/).
I went to (http://docs.telerik.com/aspnet-core/getting-started/getting-started#configuration-Add) on how to add the UI for ASP.NET Core.
The only thing I can find at the source is KendoUIProfessional.Trial.
What gives? I am trying to get the mvc service extenstions like ToDataSourceResult.

I would like to localize the "No data found" message in the grid when the column filter is not overriden. In my grid I have filterable mode="row" so by setting the column values to collection the filter will work as expected. Is there a way to easily override this label without customizing the filter?
<kendo:grid-column title="Field1" field="field1"> <kendo:grid-column-values value="${field1Values}"/> </kendo:grid-column>
I found the <kendo:grid-filterable-messages> tag which has options to translate a few properties, so I expected that this would be there too.
Thanks in advance.
Daniel