kendo-grid

Kendo PDF export issue for RTL languages

Deadly 提交于 2019-12-12 03:13:58
问题 I want to export PDF from Kendo Grid Using ASP.MVC, that's work fine but when the texts are in RTL mode(ex Arabic/Persian) its not OK! : As you seen in the picture, the orange buttons must show "ویرایش" but it Won't! 回答1: RTL content is not supported for PDF exporting: http://docs.telerik.com/kendo-ui/framework/drawing/drawing-dom#known-limitations 来源: https://stackoverflow.com/questions/39488786/kendo-pdf-export-issue-for-rtl-languages

Kendo Grid: Setting Model fields on combox selection breaks the combobox up/down arrow scrolling

[亡魂溺海] 提交于 2019-12-12 03:07:05
问题 this follows in from another post to do with setting a grid's selected fields when we have a data source field (and combo fields) with a json object (as opposed to a simple string). So if we look at the change event handler for the following combox... function createCombo(container, options, data) { var input = $('<input name="' + options.field + '" />') input.appendTo(container) input.kendoComboBox({ autoBind: true, filter: "contains", placeholder: "select...", suggest: true, dataTextField:

Data not showing in Kendo MVC Grid

人走茶凉 提交于 2019-12-12 02:58:25
问题 I've used Kendo Grid for showing data.It seems data is passed correctly because when I tracing my code in run time, I see there are some data in result but Kendo Grid couldn't show the data. How can I solve this problem? EDIT DESCRIPTION: I found cause of problem but I cannot solve it. If I remove this line in my ViewModel in QueryBuilder() method, Tags = article.ArticleTags.Where(c => c.ArticleId == article.Id).Select(b => b.Tag).Distinct().ToList() Grid show data but I need values of Tags.

KendoUI grid does not fire saveChanges event ( System.MissingMethodException: Cannot create an instance of an interface.)

折月煮酒 提交于 2019-12-12 02:57:21
问题 KendoUI grid does not fire SaveChanges event. I did not see any problem in Environment of Visual Studio 2013 and browsers(FF, IE, Chrome) when I run the project and clicked on SaveChanges button but SaveChanges event does not fire. For further investigation, I've used debugger of Chrome and I saw a problem. Please see the pictures of problem, error log and codes. (I've used JQuery v1.10) Please help me to solve it. EDITED: I understood that error has related with [Bind(Prefix = "models")]

How to get a different grid as child from a different row of another grid using Kendo detailInit function

落爺英雄遲暮 提交于 2019-12-12 02:45:20
问题 I have made a grid with buttons in each row which on-click opens a pop-up having different grids on each button. Each row of the pop-up grid may have a child (another grid with only one column). And if there is no child it should be empty. So, I'm trying to map each row with a child using parent-Id(PId) and (Id) as shown in the given example, which is taking all the available child's into a row or taking none of them into it. Dojo Sample Code 回答1: Using detailInit requires a slightly

Inline Editing is not working in Kendo MVC

♀尐吖头ヾ 提交于 2019-12-12 02:39:22
问题 Below is my .cshtml @using Kendo.Mvc.UI @model IEnumerable<WebApplication1.Models.DemoViewModel> @{ Layout = null; ViewBag.Title = "Home Page"; } <script src="http://code.jquery.com/jquery-1.11.1.js" type="text/javascript"></script> <link rel="stylesheet" href="http://kendo.cdn.telerik.com/2016.2.714/styles/kendo.common-bootstrap.min.css" /> <link rel="stylesheet" href="http://kendo.cdn.telerik.com/2016.2.714/styles/kendo.bootstrap.min.css" /> <link rel="stylesheet" href="http://kendo.cdn

Stop Kendo from auto-generating grid columns

陌路散爱 提交于 2019-12-12 02:13:15
问题 I am nesting a kendo grid inside another kendo grid row as a "detail" template. I'm having this extremely frustrating issue, though; Kendo seems to be auto-generating the columns for the detail grid for me even though I have defined them myself and it's displaying a lot of columns that I don't want to be displayed. Here is the original grid: $("#ResellerBillingGrid").kendoGrid({ dataSource: viewModel.resellerDataSource, editable: false, groupable: false, sortable: true, pageable: true,

Kendo Grid Popup not firing when Add New Record is clicked

五迷三道 提交于 2019-12-12 01:56:46
问题 I am using a Kendo Grid with popup editor to show rows from a database. The rows are from a "FemaleAdvice" table. Each FemaleAdvice object is going to belong to a FemaleCategory in the sense that FemaleCategory is a lookup table, and when the user selects a FemaleCategory, a list of FemaleAdvice object Titles and Descriptions will be shown. In letting the user edit which FemaleCategory a FemaleAdvice object belongs to, it would make sense to display the Title of the category instead of the

Kendo UI custom grid popup editor window only opens once

浪尽此生 提交于 2019-12-12 01:49:02
问题 I would like to use a custom window as popup editor of a Kendo UI Grid. Its content will be complex with search fields and a grid to display search results. To do that, I don't want to use the Kendo template mechanism but a real popup window. While doing tests with custom editor I faced an issue. Even with a very basic and simple scenario (just the create command), I'm only able to open the editor once. The second time I get an error, the editor doesn't show up anymore and the grid becomes

Kendo Ui grid Custom Validation is firing twice

依然范特西╮ 提交于 2019-12-12 01:48:41
问题 Kendo Ui grid Custom Validation is firing twice My coding schema: { model: { id: "StaffID", fields: { StaffName: { validation: { required: true } }, RoleID: { field: "RoleID", type: "number", defaultValue: 2 }, Username: { validation: { required: true } }, Password: { validation: { required: true } }, Email: { validation: { email: true, required: true,validateOnBlur: false, EmailValidation: function(input) **// This is fired twice** { var valid = CheckEmailValidate(input,dataSource,dataItem);