Hi,
I'd like to be able to pass a custom class to the task items in the Gantt component. I know that I could do this by modifying the source once I purchase a professional license, but I'm wondering if there's anything built in. For example, if the data were:
{ "ID":7, "Title":"Software validation", "ParentID":null, "OrderID":0, "Start":"Date(1401667200000)", "End":"Date(1405123200000)", "PercentComplete":0.43, "Summary":true, "Expanded":true, "CustomClass": "task-type-1"}​Then I'd like to add the "task-type-1" class to either the k-task or k-task-wrap div. This will allow me to easily colour code task types.
Does this functionality already exist, or do I need to modify the source and write it myself?
Thanks for your help!
Hello,
I am getting strange issue when accessing scheduler kendo UI with IE 11.
Data is not binding to scheduler in IE, where as data is binding and displaying as expected in other browsers.
Please let me know what is the issue?
--Sudheer

I have a grid with editable: "inline" hooked on a datasource pointing to a asp.net mvc controller for its update: update: { url: '@Url.Action("Update", "Account")', contentType: "application/json", type: "POST" }.
I would like the Update method on the AccountController to return json ( public JsonResult Update(int id, string name() { ... return ​Json() } ), however if the Update method returns anything but a single digit I'm getting the client side error: "Uncaught SyntaxError: Unexpected number" and clicking the script reference gives me this code: (function(d,value /**/) { d.0=value })
What is wrong?
I have a grid, which shows a number of details, including a list of email addresses. This data comes from a stored proc. In my custom edit form, I show a grid with email addresses, which are loaded via AJAX ( from the table that stores them, one per row ). If I only edit this list, then the grid does not save anything.
I did read up on this, and found this code below.
This 'works' but, the dirty flag is ALWAYS false, so, no matter what, it saves. This means if the built in functionality does a save, it all gets saved twice. What is the *proper* way to force the grid to save changes after the edit dialog is changed ? I am hoping for something I can set, when the user changes the email list, which will never result in two 'save' calls to the server.
Thanks
e.container.data("kendoWindow").bind("close", function (a, b, c) { // This actually sucks. We can't make it work nicely when we have our own UI, so we just need to force it to always save. var uid = this.element.closest("[data-role=window]").data("uid"); var dataSource = $("#adminGrid").data("kendoGrid").dataSource //get the model from the dataSource var model = dataSource.getByUid(uid); if (!model.dirty) { model.dirty = true; dataSource.sync(); } })
I am trying to supply a TreeList widget with a list of TreeListModel objects that are based on Model objects. The way I am creating the TreeListModels is that I first create an empty kendo Model definition with no fields defined and then I create a TreeListModel definition with the empty base Model passed into the TreeList Model's define method as the first parameter, such that the TreeListModel inherits from the base Model. I realize that this is not documented as being part of the public API, but for my application, we require such a setup because we proxy generate our TreeListModels, which extends (typescript) from a commonly shared Model definition. I have created a simple example to demonstrate how the TreeList shows "loading" forever as soon as I try to do this model wrapping. Please comment out the indicated parameter to see the breakage.
http://dojo.telerik.com/IdAhI
Any suggestions on workarounds/bug fixes, would be greatly appreciated.
Thanks!
Michelle
columnReorder: function (e) { var grid = e.sender; for (var i = 0; i < grid.columns.length; i++) { console.log(grid.columns[i].field); }}Hello all
This is my first time posting to the Kendo UI forums.
I am happy to be here.
I have only recently started using the Kendo UI scripts, and it's going very well.
I am using the scheduler, and have one small question:
I am using the recurrenceRule, and when I do, all the events on my schedule have a little circular arrow in the top left corner (see attached picture).
Is there any way to get rid of that arrow?
Thanks in advance
Daniel