kendo-ui

Chart Area and Legend Area automatically updates

和自甴很熟 提交于 2019-12-12 02:24:57
问题 I have a chart and implemented seriesClick event. When User clicks it loads dataA , when user click again it loads dataB . It is fully implemented and it is functional. However my question is how to fix chart area and legend area. Legend length differs in dataA and dataB , therefore when user click on series, chart is not stay stable, it adjusts automatically. I do not want my chart to adjust automatically. my SeriesClick event implementation is as follows: function clickEvent (e) { if (

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,

KendoUI in angular.js - how to update multiple pointers value

橙三吉。 提交于 2019-12-12 02:08:58
问题 I'm trying to use kendo-radialgauge of " kendo.directives " with two pointers but my problem is to update the both pointers from controller. How can I do it ? Two pointers in UI <span kendo-radialgauge k-options="options" k-ng-model="menuOptions" ></span> angular.module("app", ["kendo.directives"]) 回答1: I don't know kendo but I found this: http://docs.telerik.com/kendo-ui/AngularJS/introduction#widget-update-upon-option-changes You can also read about controller-directive communication and

fill kendogrid with api controller in asp.net

偶尔善良 提交于 2019-12-12 02:07:34
问题 i use from kendo grid but my grid dont fill with values and when show page grid dont load. i use kendo 2014 and asp.net 2012. my api controller code : public class ValuesControllerApi : ApiController { public List<File> Get() { GuaranteeEntities ef = new GuaranteeEntities(); var file = ef.Files.Where(c => c.UpdaterUserInfo == "Guarantee").ToList(); return file; } } and my html Code is : <div id="employeesGrid"> <script> $(function () { $("#employeesGrid").kendoGrid({ dataSource: new kendo

Issue with kendo combobox

为君一笑 提交于 2019-12-12 02:06:58
问题 I have defined kendocombox in my html like below <input id="selFrameworkVersion" style="width: 210px" data-bind="kendoComboBox: { dataTextField: 'Name', dataValueField: 'Id', data: $root.versionListByProductType, value: $root.editFrameworkVersion, optionsCaption: 'Select Version...' }" /> The combobox loads correctly and sets value but when it doesnt set focus to proper item in list. See image below You can see value is 5.5.1 but it sets to 5.4 which is first item in list. I now know that why

Kendo Grid Custom Validation Rules Not Working

放肆的年华 提交于 2019-12-12 01:57:39
问题 I’m trying to use custom validation rules with a Kendo Web UI data grid but I haven’t been able to get it working. I’m able to attach a custom rule to the grid and it does get called when the user leaves the grid cell. The rule function also returns false to indicate that the input is not valid. But the error message is not displayed after deleting the name from a cell and then tabbing out. What am I missing? JSFiddle: http://jsfiddle.net/davidsalahi/qMRBc/ var validatorRules = { rules: { //

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 Treeview datasource binding

女生的网名这么多〃 提交于 2019-12-12 01:45:43
问题 I have main page: main.html In this page I have a viewmodel with a hierarchical datasource datasource: [{id:"", items:[{.....}]}]; In a modal window I have a Treeview. Treeview call a datasource in main page. In my datasource there is a variable check: true/false I want that when I check or uncheck a checkbox in the treeview this bind a datasource.. so when I close a modal window, and the I re-open it I will find the selected/unselected checkbox restored... 回答1: If you have an HTML like this:

How to refresh kendo grid base on additional paramer

妖精的绣舞 提交于 2019-12-12 01:22:09
问题 I have a customize Read function for kendo grid .... public virtual async Task<ActionResult> Read([DataSourceRequest] DataSourceRequest request, RecordStatus? recoredStatus){ // code here } now I want refresh my grid by using record status in kendo with jquery <script type="text/javascript"> function viewButtonClickHandler(e) { alert(e.Id) $('#Grid').data('kendoGrid').dataSource.read(e.Id); $('#Grid').data('kendoGrid').refresh(); } but how I send this additional parameter ( recordStatus )in