There is a graph in which the date and sent to different values, the values can be both positive and negative.
In advance it is not known what it is understandable, we must first of all to sort data, time-consuming
Is there any comprehensive solution to display the date at the bottom of the graphs (categoryAxis.categories)?
________________
Есть график, в который отправляются даты и различные значения, значения могут быть как отрицательные так и положительные.
Заранее это не известно, что бы это понятно , надо предварительно производить сортировку всех данных, что трудоемко
Существует ли какое-нибудь универсальное решение выводить даты внизу графиков(categoryAxis.categories), как для положительных так и для отрицательных значений?
We use chunk upload of files to send large files asynchronously with multiple requests.
I want to add custom field to each request (for example File ID) using e.data property.
This custom field has one-to-one relation (file ID <-> file).
I found out property -> e.files is Array (A list of the files that will be uploaded).
It means that upload event be triggered for multiple files.
I can`t understand cases when this field may contain more than one record (for async mode, using chunks).
On the server side -> request contains such info as chunkIndex, fileName, totalFileSize....
It means: one request for one file.
My questions are:
1. When do the upload event may have files property with more than one record?
2. Сan I rely on the fact that "files.length = 1" for async mode using chunks.
3. Is there are any other options to add my custom field (belongs to file) to request?
I really hope for your help, thanks.
01.<!DOCTYPE html>02.<html lang="en" class="fuelux">03. <head>04. <meta charset="utf-8">05. <script src='http://localhost/shared/assets/js/jquery-1.10.2.min.js' type='text/javascript'></script>06. <link rel='stylesheet' type='text/css' href='http://localhost/shared/assets/css/smoothness/jquery-ui-1.8.17.custom.css'>07. <script src='http://localhost/shared/assets/js/jquery-ui-1.9.1.custom.min.js' type='text/javascript'></script>08. <link rel='stylesheet' type='text/css' href='http://localhost/shared/assets/css/KendoUI/kendo.common.min.css'>09. <link rel='stylesheet' type='text/css' href='http://localhost/shared/assets/css/KendoUI/kendo.default.min.css'>10. <script src='http://localhost/shared/assets/js/KendoUI/src/kendo.web.js' type='text/javascript'></script>11. <script src="http://localhost/shared/assets/js/loader.js"></script>12. <link href="http://localhost/shared/assets/css/fuelux.css" rel="stylesheet">13. </head>14. <body>15. <script type='text/javascript'>16. var gVars = {};17. gVars.conf = {foo:'bar'};18. gVars.mainEventModel = {foo:'bar'};19. $(function(){20. gVars.objDetailsPage = new gVars.detailsPage(gVars.mainEventModel,1);21. gVars.objDetailsPage.selectArea();22. });23. </script>24. 25. <script type="text/x-kendo-template" id="selectAreaTemplate">26. <label class = "control-label" for="treatedArea">Treated area:</label>27. <div class = "controls">28. <input id="treatedArea" style="width:400px;height:50px;"29. data-role="multiselect"30. data-auto-bind="true"31. data-placeholder="Click to select ..."32. data-text-field="name"33. data-value-field="value"34. data-source="gVars.objDetailsPage.getEventParameterTypeDataSource(13)" />35. </div>36. </script>37. 38. <script type='text/javascript'>39. gVars.detailsPage = function(mainEventModel,treatmentTypeId) {40. this.treatmentTypeId = treatmentTypeId;41. this.mainEventModel = mainEventModel;42. this.eventParameterTypes = {43. overallResult : 1,44. treatment : 8,45. treatedArea : 1346. };47. };48. 49. gVars.detailsPage.prototype.getEventParameterTypeDataSource = function(eventParameterId) {50. var dataSrc = new kendo.data.DataSource({51. transport: {52. read: {53. url: gVars.conf.getParameterTypeData,54. dataType: "json",55. data : {56. eventParameterTypeId : eventParameterId57. }58. }59. }60. });61. return dataSrc;62. };63. 64. gVars.detailsPage.prototype.selectArea = function(){65. var diversForm = new kendo.View('selectAreaTemplate');68. var html = diversForm.render();69. $('#TemplateArea').html(html);70. };
79. 80. </script>81. <div id="TemplateArea"></div>82. </body>83.</html>01.<div>02. <label class="control-label" for="treatedArea">Treated area:</label>03. <div class="controls">04. <div class="k-widget k-multiselect k-header" style="width: 400px; height: 50px;">05. <div class="k-multiselect-wrap k-floatwrap">06. <ul id="treatedArea_taglist" class="k-reset" unselectable="on" role="listbox">07. <input class="k-input" style="width: 25px" accesskey="" role="listbox" aria-expanded="false" tabindex="0" aria-owns="treatedArea_taglist treatedArea_listbox" aria-disabled="false" aria-readonly="false" aria-busy="false">08. <span class="k-icon k-loading k-loading-hidden"></span>09. </div><input id="treatedArea" data-source="gVars.objDetailsPage.getEventParameterTypeDataSource(gVars.objDetailsPage.eventParameterTypes.treatedArea)" data-value-field="value" data-text-field="name" data-placeholder="Click to select ..." data-auto-bind="true" data-role="multiselect" style="width: 400px; height: 50px; display: none;" multiple="multiple" aria-disabled="false" aria-readonly="false">10. <option value="0">Boot top</option>11. <option value="1">Upper verticals</option>12. <option value="2">Lower verticals</option>13. <option value="3">Entire verticals</option>14. <option value="4">Flat bottom</option>15. <option value="5">Entire hull</option>16. </input>17. <span style="font-family: MS Shell Dlg; font-size: 13.3333px; font-stretch: normal; font-style:normal; font-weight: 400; letter-spacing: normal; text-transform: none; line-height: 16px; position: absolute; visibility: hidden;"></span>18. </div>19. </div>20.</div>Hi there,
I have a multi select dropdown. I was able to get the selected items list - which has the list of id's. But I wanted to pull the list of selected items text, instead of id's? Can someone help me out please?
Ex: MULTISLECT Dropdown
Id Value
1 ABC
2 XYZ
3 IJK
If 1 and 2 are selected, I wanted the values [ABC, XYZ], instead of [1,2].
Appreciate your help.
Kind Regards
NeelimaN
Hi,
I'd like to use the PivotGrid control in a scenario where there may be several layers of grouping in the Rows.
At the moment on the demos page I can see that when you expand a group (eg "All Products"), the expanded items are not directly below the All Products heading but off to the right. This very quickly eats up horizontal room.
Is it possible to instead nest the expanded items almost directly below the heading (maybe only slightly to the right), like you'd expect in a tree view?
I'm including a screenshot of what it looks like and what I'd like to be able to do.
Cheers,
Ilya
<form action="/" id="testForm"> <input type="hidden" name="__EVENTTARGET" id="__EVENTTARGET" value="" /> <input type="hidden" name="__EVENTARGUMENT" id="__EVENTARGUMENT" value="" /> <input type="text" id="testInput" value=""> <a id="testValidate" href="javascript:;">Validate</a></form>var validatable = $("#testForm").kendoValidator({ rules: { testRule1: function (input) { // Only "Tom" will be a valid value for the FirstName input return input.is("[name=firstname]") && input.val() === "Tom"; }, testRule2: function (input) { return $.trim(input.val()) !== ""; } }, messages: { testRule1: "Your name must be Test", testRule2: "Your name must be Foo" }}).data("kendoValidator");$("#testValidate").click(function () { if (validatable.validate()) { alert('passed'); }});

Hi,
I've been researching the scheduler and can't seem to see if I can get the scheduler to format Data like the below
Person Monday 25th Tuesday 26th Wednesday 27th Thursday 28th etc
Jamie
Chris
Fred
Steve
Basically I want day slots for each person that I can schedule tasks for. Only one box is required for the task (we can combine multiple tasks into one if necessary) However if its possible to add multiple tasks to the one box that is even better (for drag and dropping tasks between people / days)
Any assistance greatly appreciated or advice on another control that might be better suited.
Stefan

I have a grid that I want to populate from data returned from an ajax request.
The data is returned as part of the Ajax response, but is not displayed in the grid.
My code is:-
$.ajax({ type: "POST", async: true, contentType: "application/json;charset=utf-8", url: "@Url.Content("~/Dynamic/CompareTables")", data:'{"tab1":"' + t1 + '","tab2":"' + t2 + '","link1":"' + l1 + '","link2":"' + l2 + '","CompDesc":"' + desc + '"}', dataType: "json", success: function (data) { if (data.Success == true) { alert(data.Message); //Create grid from data var fMatches = new kendo.data.DataSource({ data: data.FieldMatches }); fMatches.read(); $("#fieldCompGrid").kendoGrid({ dataSource: { data: fMatches, schema: { model: { fields: { FieldName: { type: "string" }, FieldTypeMatch: { type: "boolean" }, MatchFound: { type: "boolean" }, MaxLengthMatch: { type: "boolean" }, PrecisionMatch: { type: "boolean" }, OutputHeader: { type: "string" }, Output: { type: "string" }, CanBeCompared: { type: "boolean" } } } }, pageSize: 20 }, height: 550, scrollable: true, sortable: true, filterable: true, pageable: { input: true, numeric: false }, columns: [ "FieldName", { field: "FieldTypeMatch", title: "Type Match" }, { field: "MaxLengthMatch", title: "Max Length Match", width: "130px" }, { field: "CanBeCompared", title: "Can Be Compared" } ] }); //show div $('#resultsDiv').show(); //$("#Grid").data("kendoGrid").dataSource.read(); $('#compBtn').show(); $('#imgWait').hide(); } else { $('#imgWait').hide(); alert(data.Error); $('#compBtn').show(); } } , error: function () { $('#imgWait').hide(); alert("An error has occurred."); $('#compBtn').show(); } });How can I get this working?
Thanks