I am trying to initialize kendo-grid however I am getting strange error which is not traceable.
I have splitter in the page which was working. When I add the grid, I get following error in console.
angular.js:12450 TypeError: Cannot read property 'removeAttribute' of undefined
at link (http://localhost:8080/dv/SiteOptimizer/libs/telerik.kendoui.professional.2015.3.1111.commercial/js/kendo.custom.min.js:9:50947)
at $ (http://localhost:8080/dv/SiteOptimizer/libs/angular-1.4.6/angular.min.js:73:89)
at K (http://localhost:8080/dv/SiteOptimizer/libs/angular-1.4.6/angular.min.js:62:39)
at h (http://localhost:8080/dv/SiteOptimizer/libs/angular-1.4.6/angular.min.js:54:410)
at h (http://localhost:8080/dv/SiteOptimizer/libs/angular-1.4.6/angular.min.js:54:433)
at h (http://localhost:8080/dv/SiteOptimizer/libs/angular-1.4.6/angular.min.js:54:433)
at h (http://localhost:8080/dv/SiteOptimizer/libs/angular-1.4.6/angular.min.js:54:433)
at h (http://localhost:8080/dv/SiteOptimizer/libs/angular-1.4.6/angular.min.js:54:433)
at http://localhost:8080/dv/SiteOptimizer/libs/angular-1.4.6/angular.min.js:53:480
at http://localhost:8080/dv/SiteOptimizer/libs/angular-ui-router.min.js:7:23478
Strangely when I remove splitter and add only the grid, it works fine.
Can you help me with what is happening here?
Hello,
I'm using kendo ui in an angular (1.5.8) SPA and noticed a memory switching between 2 views.
View A: with kendo ui toolbar (without options, so no toolbar items).
View B: without kendo ui toolbar.
Switching from View A to View B and back to View A adds exactly 80 objects in memory (aprox. 4.2 kB).
Since i use the toolbar in a lot of views and nested views the memory usage over time goes up dramatically.
Calling the toolbar.destroy() on the destroy event of the angular component controller doesn't make any difference.
It looks like it has something to do with the overflow button which apparently gets a new data-uid every time and stays in the jquery tokencache.
Is this a known issue and/or how can this be fixed ?
Thanks in advance
Hello,
I'd like to update the title field of my event dynamically. I can do this by using jquery to select the title input and updating its value. Example,
$('[name="title"]').val("New Test Title")
This updated value is based on another dropdown and therefor is evaluated dynamically so cannot be set in the configuration.
However, when I save the event the title does not save with the updated value. Is there a way I can force the underlying event object to bind to the value dynamically added to the title input.
Thanks
field: "ItemNo", title: "Item #", width: 120,template: "<a href='\\#' class='link' onclick='displayItemDetails(\"#=ItemNo#\")'>#=ItemNo#</a>",I have a grid with a checkbox template. When I check a checkbox, and click Edit, I get a popup window, which is expected, when I close the popup window, I destroy the grid and rebind the grid again.
When I go to select another record to edit and check that checkbox, then all of a sudden the checkbox of the very first row gets checked as well, and it doesnt matter which checkbox I check, because it also checks the first rows checkbox
The code I am using is
var vendorGrid, CreateVendorGrid = function (newData) { $("#Vendor-Grid").kendoGrid({ dataSource: { data: newData }, schema: { model: { fields: { VendorID: { type: "number" } }, } }, filterable: { mode: "row" }, columns: [ { template: "<input name='Selected' class='checkbox' type='checkbox'>", width: "30px" }, { field: "VendorName", title: "Vendor", filterable: { cell: { showOperators: false, operator: "contains" } } }, { field: "Email", title: "Email", filterable: { cell: { showOperators: false, operator: "contains" } } }, { field: "Phone", title: "Phone", filterable: false }, { field: "City", title: "City", filterable: false }], scrollable: true, sortable: true, pageable: { pageSize: 20 }, selectable: "row", height: $("#Vendor-Grid").closest(".col-height-full").height()-60, change: function (e) { } }).data("kendoGrid");}//This to get the data to populate the gridfunction GetVendorGridData() { kendo.ui.progress($("#Vendor-Grid"), true); $.ajax({ type: "GET", url: URLParam.GetVendorsForGrid, dataType: "json", contentType: "application/json; charset=utf-8", success: function (data, textStatus, jqXHR) { CreateVendorGrid(data); kendo.ui.progress($("#Vendor-Grid"), false); } });}//This is part of my script in my popup window for closing the window $("#btnCloseVendorEditor").click(function () { RefreshVendorGrid(); GetVendorGridData(); CloseTheWindow();});function RefreshVendorGrid() { var theGrid = $('#Vendor-Grid').data('kendoGrid'); theGrid.destroy();}Hi,
I am looking for, selecting multi events on across the time/days and move into new time/days.
Any suggestions pls.
Cheers.
I currently have the following template
<script id="tmplOptionsMenuItemRowAll" type="text/x-kendo-tmpl" >
<div>#:uid#</div>
<div class="col-xs-12"
data-role="listview"
data-template="tmplOptionsMenuItemRowAll"
data-bind="source: allMenuItems"
data-selectable="false"
id="kendoLVOptionsAllMenuItems">
</div>
</script>
I am trying to manually calculate the HTML and then inserting it somewhere in the DOM (its a long story)
I currently call the following code to do this:
var templateContent = $(options.templateId).html();
var template = kendo.template(templateContent);
//now resolve the HTML
var result = kendo.render(template, [options.appModel]); //render the template
return result;
However when I look at 'result' I can see that the UID has been correctly resolve BUT the list view has not been executed at all. Am I missing something?
We are generating a PDF form in Finnish language. We are having problems with scandic letters (åäö) not rendering correctly in the PDF. They are on top of each other. Is this a problem with Telerik PDF export or the font? Are there workarounds? I tried another font (Fira Sans) and the results are the same.
The attached files show how it looks in the DOM and in the generated PDF.