I'm getting the following error when trying to call the method .saveAsExcel(): "Unable to get property 'length' of undefined or null reference"
Here is code:
$(".download-excel").on("click",
function() {
try {
var grid = $("#DataGrid").data("kendoGrid");
grid.saveAsExcel();
} catch (e) {
fnDialog('Error Exporting Excel',
'There was an error exporting the excel document. Please contact customer service.',
null,
null);
}
});
If I set a watch on the grid object, I can see the data. For some reason it fails at the grid.saveAsExcel();
Hi.
I manged to enable horizontal scrolling as shown here. But exporting it to PDF shrinks the widths back to standard. Even if I use scaling and A3 landscape as paper size.
This is a sample dojo showing the effect. There is plenty of unsed space on the right side.
How can I create a PDF showing one page per group and use the available page size?
Your example doesn't help me much, because the result is quite ugly (the next day is intended) and it doesn't page per group/day.
Kind regards
Bernd
Hi,
When I try to center a diagram using the BringIntoView method, the undo after centering the diagram is causing a bad behavior.
Here is a link for a demo that replicate the issue: http://dojo.telerik.com/esAVu
Replication steps:
1- Change the diagram position
2- Click on the Center button
3- Click the Undo button and check the behavior
The expected behavior is that the diagram will return to the old position before centering, instead it returns to completely random position.
Is this a bug in kendo diagram ? if yes, is there a consideration to fix it ?
I am getting a very weird problem only on Edge:
1. Open the following site on Edge: http://dojo.telerik.com/emONo/2
2. clear the first cell "Jane Doe" and click enter
3. Click on the same cell. You will not be able to edit it unless you double click on it
Hi --
I've been trying to get a "switch" of any kind to work with the regular MVVM framework -- it's a full desktop web application (not the mobile flavor).
I have tried including the mobile css, creating a new kendo.mobile.application, but nothing seems to work.
Do you have any examples of the mobile switch being used in a non-mobile application and using the MVVM framework? I'd love to see the code in a JsFiddle or something.
If you need it, I can try to create a non-working fiddle with what I'm after -- but it's really just a multi-field form, where one/more of the fields is a switch -- and uses the MVVM framework and NOT a mobile application.
Any assistance is appreciated -
Erik
Hello,
I am looking at doing remote validation using custom rules and I found http://www.telerik.com/blogs/extending-the-kendo-ui-validator-with-custom-rules approach which is exactly what I am looking for, however I would like to show a message using different styling/template when a field is in "checking.." state vs when there is an actual error,
Is there any way to specify an error template only for single field or conditionally change the error template based on for what field it is showing the error message, also I am using AngularJS version
Thanks
Ketul
I'm trying to write some javascript that will disable/enable all controls, regardless of type, in a specified div.
How can I do this? I understand that I might have to write a little code for each time of control, but I need to know where to start.
If I remove the url property on the data item, behavior is normal.
I've got a jsFiddle that demonstrates the problem here. The last node, 'Carpets' has a url property and can't be dropped and won't fire the drag event.