I am having trouble make a chart wider. My html & JS is below:
<div class="demo-section k-content wide" style="width: 100%">
<div id="indepthGraph"></div>
</div>
$("#indepthGraph").kendoChart({
title: {
text: "Graph Shit"
}
});
However, when I check developer tools elements tab, I see that my both my div's have disappeared, to be replaced by this <svg> tag. This is fine, however, on your examples http://demos.telerik.com/kendo-ui/bar-charts/multiple-axes - developer tool shows the two divs still there, with the <svg> tag inside the child div.
Thanks
Marc
To begin using Kendo UI to work on a calendar, I first am beginning by pulling events from salesforce orgs and just displaying them on the scheduler. However, I am being plagued by "Cannot read property 'getTimezoneOffset' of undefined errors and am looking for help. My JS is:
var data = '{!jsonString}';
var scheduler = $('#scheduler').kendoScheduler({
date: new Date(),
startTime: new Date(),
height: 700,
timezone: "Etc/UTC",
views: [
{type: "week", selected: true},
"week",
"month",
"agenda"
],
dataSource: {
batch: true,
transport: {
read: function(e){
console.log(data);
e.success(data);
},
update: {
url: "http://demos.telerik.com/kendo-ui/service/tasks/update",
dataType: "jsonp"
},
create: {
url: "http://demos.telerik.com/kendo-ui/service/tasks/create",
dataType: "jsonp"
},
destroy: {
url: "http://demos.telerik.com/kendo-ui/service/tasks/destroy",
dataType: "jsonp"
},
parameterMap: function(options, operation) {
if (operation !== "read" && options.models) {
return {models: kendo.stringify(options.models)};
}
}
},
schema: {
model: {
id: "OwnerId",
fields: {
taskId: { from: "TaskID" },
title: { from: "Title", defaultValue: "No title", validation: { required: true } },
start: { type: "date", from: "Start" },
end: { type: "date", from: "EndTime" },
startTimezone: { from: "StartTimezone" },
endTimezone: { from: "EndTimezone" },
description: { from: "Description" },
recurrenceId: { from: "RecurrenceID" },
recurrenceRule: { from: "RecurrenceRule" },
recurrenceException: { from: "RecurrenceException" },
ownerId: { from: "OwnerID", defaultValue: 1 },
isAllDay: { type: "boolean", from: "IsAllDay" }
}
}
}
}
//});
});
And the data variable is JSON in the format:
[{"Title":"meeting","TaskId":"00U410000059ZjbEAE","StartTimezone":"Etc/UTC","Start":"2017-01-26","RecurrenceRule":null,"RecurrenceId":null,"RecurrenceException":null,"OwnerId":"005410000020eLnAAI","IsAllDay":false,"EndTimezone":"Etc/UTC","EndTime":"2017-01-26","Description":"a meeting"},{"Title":"meeting","TaskId":"00U410000059ZjcEAE","StartTimezone":"Etc/UTC","Start":"2017-01-26","RecurrenceRule":null,"RecurrenceId":null,"RecurrenceException":null,"OwnerId":"005410000020eU9AAI","IsAllDay":false,"EndTimezone":"Etc/UTC","EndTime":"2017-01-26","Description":"a meeting"}, etc...}]
according to the console.log(data) in the read operation. I have a controller that gets an array of events, then JSON.serializes that array (which is jsonString, which data accesses).
I don't get what the issue with the timezone offset is, all my JSON entry data matches the fields of the tutorial schema and it still doesn't work... I just need the calendar to display all events that currently exist when it is opened by passing this JSON to the read operation. Any help would be incredibly appreciated! Thank you.

Hi,
As my title says, im trying to change the icons of the command buttons in my inline grid.
Now I've managed about 73% of the way; by setting the edit icons in the 'dataBound' event and the update icons in the 'edit' event. But when the user clicks 'cancel' (in edit mode) kendo resets the icons to the kendo standard. What event can I trigger after a cancel has completed to reset the icon to my custom ones?
For Info purposes
dataBound: function(e) { $(".k-grid-edit").find("span").removeClass().addClass("fa fa-pencil"); $(".k-grid-destroy").find("span").removeClass().addClass("fa fa-times");},edit: function(e) { $(".k-grid-update").find("span").removeClass().addClass("fa fa-check"); $(".k-grid-cancel").find("span").removeClass().addClass("fa fa-ban");}
Please advise on how I can achieve this or if there is a more efficient way to do the same thing.
Kind Regards,
Grant
We want to set a variable editable value for all grid columns. The value is configured in our json-file, but we don't know how to assign the value from json to the editable option.
http://dojo.telerik.com/@brandung/eKOyi/16
Hello
I want to use the new "noDataTemplate" to add new items as in this example: http://demos.telerik.com/kendo-ui/combobox/addnewitem
If I type "custom" in the example I can then add that as a new item.
But I can't add a new item called "Cha" because there are 3 other items starting with "cha". I know there is a conflict here: Should we show the 3 items or the add-new-item-dropdown. But do you have a solution for this problem? E.g show the add-new-item-dropdown above the input so that both can be active at the same time? Or is it not possible?
I have multiple buttons for things such as save, save as, new, etc. I wrote the function below so that we could easily call these windows without individually writing JS and HTML for each. Currently everything works except the title. The title displays as the first window opened, if i open Save then close, then open Delete the delete window content is displayed with the Save title. thanks for any help
JS
$(".kendo--modal").click(function(e) {
var div = $(this).attr("data-div"),
title = $(this).attr("data-title"),
content = $(this).attr("data-content"),
h = $(this).attr("data-h"),
w = $(this).attr("data-w");
createKendoModal(div, title, content, h, w )
});
HTML
<li>
<a class="kendo--modal"
data-title="Save View As"
data-div = "#window"
data-content = "/templates/html/modal--save.html"
data-h = "800"
data-w ="800"
>Save As
<span class="glyphicon glyphicon-floppy-open"></span>
</a>
</li>
<li>
<a class="kendo--modal"
data-title="Delete View"
data-div = "#window"
data-content = "/templates/html/modal--delete.html"
data-h = "800"
data-w ="800">Delete
<span class="glyphicon glyphicon-trash"></span>
</a>
</li>
Hello, I've been testing the PivotGrid using local data binding and have some questions:
Is there any way that I can make a button to expand all rows and columns with local data binding? I tried to do that in the column using
pivotgrid.dataSource.expandColumn("Dimension1&Value", "Dimension2");
but the grid's colspan was all wrong (see image attached). Is there any way to fix this? I tried to do the same thing on the row and it works fine.
I want the Numeric text box to show the integer values(and not any decimal part) for which we set the below options and it seems to show the values properly in integers in both IE and chrome browsers.. but both the up and down buttons are not working only in Internet explorer whereas it works perfectly in chrome... How can this be fixed..??
$("#size").kendoNumericTextBox({
value: 32.3,
min: 0,
max: 480,
step: 5,
decimals: 0,
format: '0.'
});
The above sample code is available in this fiddle link(http://jsfiddle.net/Mgb77/)
