I have been trying to use a Switch instead of a Checkbox in a non-mobile kendo grid instance built using Html helpers. I was able to build a dojo (http://dojo.telerik.com/ukafE) using javascript without paging. However, in real time, the grid load and brings data async-wise. The code that switches a checkbox to switch already executes and is not able to find any checkboxes are they are still ajax-ing in the grid. If I put an alert, the grid loads a page while the message box is displayed and once I exit the message box, the get converted to switches.
How do I get to use switches in an Ajax Kendo grid built with Html Helper?

Hello,
I have a datepicker with validation rule that calculates a new date, if the input is a number.
E.g. if today is 12/24/2016 and I type in 2 I get the date 12/26/2016.
This works fine. By validation the right date is set.
But if the datefield is in a grid, the date is not always set, only every second time.
This happens if I type in a number and after that i click on another gridcolumn.
It works, if I type in a number and then press enter-key or tab-key or click outside the gid.
Does the validation works different by clicking on the grid and hitting the enter/tab key, ?
The validation function is:
01.var customDateValidation = function(e, field) {02. var input = $(e).val();03. if(!isNaN(input)) {04. var noOfDays = parseInt(input);05. if(noOfDays > -366 && noOfDays < 366) {06. var newDate = new Date();07. newDate.setDate(newDate.getDate() + noOfDays);08. 09. var item = $("#myGrid").data("kendoGrid").dataItem($(e).closest("tr"));10. item[field] = newDate;11. item.dirty = true;12. 13. return true;14. }15. return false;16. }17. 18. var date = kendo.parseDate(input, "dd.MM.yyyy");19. if(date) {20. return true;21. }22. 23. if(input == null || input == "") {24. return true;25. }26. return false;27.};
Or is there another way to turn integers to date with a grid datefield?
Thanks in advance
Hi,
i'm using kendoImageBrowser as a standalone widget.
I get data from a server handler that returns a Json with file informations (filename,type, size) , while I would like to have a static thumbnail for every Item.
This is the initialization for the widget :
var objSchema = {
model: {
id: 'Id',
fields: {
name: { field: 'FileName' },
type: { field: 'FileType' },
size: { field: 'FileSize' }
}
}
};
$('#divBrowser').kendoImageBrowser({
fileTypes: '*.jpg,*.png',
transport: {
read: 'http://URL/Handler.ashx?PAR=A&PAR=B',
thumbnailUrl: function () { return 'http://URL/images/image.png'; }
},
schema: objSchema,
});
But thumbnails are not showed. Am I missing something?
Hi,
So I have a Data Source that creates an object, but depending on parameters the response is either ACCEPTED or OK. How can I determine what he response is in the requestEnd callback?
Or is there a better way to do so?
Many Thanks,
Grant
Hi All,
I have implemented Kendo Grid using angular with inline editing feature. and i have been asked by my client to implement add feature with different template. can we separately write another row template for add new row. He would have added a feature of frozen columns in kendo UI. can someone help me in this .
any help or suggestion will be appreciated.
Thanks
Laxmikant

Hi guys,
I have a requirement to re-implement grid grouping but instead of grouping within the grid itself, I need to generate a separate tree view outside of the grid element. The tree view side of it is fine, but I couldn't see any way that I could set the grid to be groupable (thus showing the groups bar) without grouping being applied to the grid itself. I tried preventingDefault on the group function but this prevented the columns being dropped onto the group bar itself as it seems to be something that occurs after the grid has refreshed.
So now, instead, what I'm trying to do is add a div outside the grid that I can use as a drop target for my grid columns to be dropped on to but this doesn't seem to be working
Here's the dojo: http://dojo.telerik.com/@mancmanomyst/AJoBIj
Could you point me in the right direction for allowing the grid columns to be dropped on my target div?
Enum class
public class Voltage { public int Id{ get; set; } public string RefNo { get; set; } public VoltageLevel VoltageLevel { get; set; } } public enum VoltageLevel { LV = 1, MV = 2, HV = 3 }
Controller
public ActionResult Voltage_Read([DataSourceRequest]DataSourceRequest request) { IQueryable<Voltage> voltage= db.Voltage; DataSourceResult result = voltage.ToDataSourceResult(request, voltage=> new { Id = voltage.Id, RefNo = voltage.RefNo, VoltageLevel = voltage.VoltageLevel, }); return Json(result); }
View
@(Html.Kendo().Grid<entities.voltage>().Name("grid").Columns(columns =>{columns.Bound(c => c.RefNo);columns.Bound(c => c.VoltageLevel); //here the voltagelevel didnt show. })Hi Team,
I want a horizontal form in between kendo grid header and body, Is it possible to add a form with same grid columns in kendo grid. Please find the below attached screen shots for reference
Thanks,
S

Hi,
is there a way to add a tooltip to category axis labels?
Thank you