kendo-grid

The Kendo UI directives require jQuery to be available before AngularJS with Kendo grid in routing template with Html5mode

僤鯓⒐⒋嵵緔 提交于 2019-12-04 07:40:40
Why kendo load before Jquery in angular routing template with Kendo grid. I have ordered the scripts, while clicking any event through angular routing templates getting this error in console. Note: In page refresh, scripts loaded properly, the application works fine, not getting any error. Only occurred in event routing. kendo load before jquery why. order scripts : <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/1.9.1/jquery.js"></script> <script src="https://code.angularjs.org/1.3.8/angular.js"></script> <script src="//kendo.cdn.telerik.com/2016.2.714/js/kendo.all.min.js"></script

Remove HTML from Excel generated from Kendo Grid

旧巷老猫 提交于 2019-12-04 06:41:37
问题 I'm using the following code to load grid data and for removing the HTML from the footer and group footer in Excel. I'm using the recommended code only but somehow it's not working and there is no change in result as well. var GridParams = function(fromDate, toDate) { var groupSortDirection = groupByPaymentDate.value(); return { id: divReportGrid, showGroup: true, serverSorting: false, url: formUrls.gridUrl, columns: columns(), pageSize: 50, showReport: true, fileName: "Report.xlsx", toolbar:

Disable/Enable the checkbox in kendo grid based on column Value

陌路散爱 提交于 2019-12-04 06:25:21
问题 I have a kendogrid all working good, now I got new requirement i.e. last column i have checkbox and just to that previous column I have a status column, if that text value is "CERTIFIED" only then that specific row checkbox should be enabled, if the text is not 'CERTIFIED' it should disable the checkbox of that row,and should not allow to check that checkbox using jquery, I have attached pic of kendogrid I have, which might help for any suggestions CODE THESE ARE MY COLUMNS OF MY KENDO GRID ,

Custom Delete Confirmation popup on Kendo Grid

牧云@^-^@ 提交于 2019-12-04 06:22:34
I have a Kendo grid where I need to customize the delete confirmation message box based on data in row being deleted. I have a customized general message as part of Grid configuration as below. editable: { confirmation: "Are you sure that you want to delete this record?", mode: "popup", template: kendo.template($("#popup-editor").html()) } I was looked at using the remove event handler, but that fires after the row has been deleted. I am guessing you will need to do this manually. Simply add a custom button to the grid, that calls your code to delete the item. Kendo Grid Custom command http:/

Changing the kendo numeric filter format

老子叫甜甜 提交于 2019-12-04 05:58:55
I am applying custom paging and sorting in the kendo grid. For one of my column I am getting a numeric text box. When I insert the value in numeric text box it is integer, but as the focus is removed from the filter numeric text box it converts into decimal. For eg: if I entered 32, it remains 32,but as the focus is removed the value becomes 32.00. But I want that value to remains 32. So any one can please help me out with the solution. You can set like below columns.Bound(x => x.Property).Filterable(x => x.UI("NumericFilter")); <script type="text/javascript"> function NumericFilter(control) {

Kendo Grid: how to get the selected item from a Combobox cell template when using with Angular

大城市里の小女人 提交于 2019-12-04 05:09:26
问题 I have a Kendo grid which I am using within Angular, and have a field with a combo box, that has the editor set to the following function... function comboCellTemplate(container, options) { var input = $('<input name="' + options.field + '" />') input.appendTo(container) var combobox = input.kendoComboBox({ autoBind: true, filter: "contains", placeholder: "select...", suggest: true, dataTextField: "description", dataValueField: "code", dataSource: data, }); And data is a list of simple json

Kendo Grid with custom popup editor using MultiSelect - can't get selected items in model

久未见 提交于 2019-12-04 05:04:02
So the title pretty much says it all. I'm trying to incorporate the new MultiSelect widget into a Grid's custom popup editor template. I'm using the Data Attribute Initialization method and reading the dropdown options from a remote dataSource. This is all working okay, but I can't get the values of the selected items into the model. When I save the row, an array of data is sent to the server representing the first data item selected in the MultiSelect, rather than a comma-separated list of selected values. Any ideas how I can get the MultiSelect value (list/array of selected values) into the

Kendo Grid hierarchy passing ID from master grid

拟墨画扇 提交于 2019-12-04 05:01:44
问题 I have a Kendo Hierarchial Grid where the master grid contains the Client details and the sub grid contains the Point of Contacts . I am able to pass the Client ID from the master grid into the sub grid Read action and the data is loading fine. However, the issue comes while passing the Client ID into a Add New Point of Contact button in the sub grid. If I hard-code the value the Controller method runs fine. However, it is unable to pick the reference Client ID . The sub grid is as follows:

Radio Button doesn't reflect Model's value

…衆ロ難τιáo~ 提交于 2019-12-04 04:31:46
问题 I have a kendo Grid for a class, and for that class I've built an editor template to produce a radio button for one of the fields. This radio button doesn't reflect propertie's value and is always false , although I've checked the value, by printing it on the form, and I'm sure it's true . If I set a default value for that field, the radio button will reflect that value, regardless of the real value of the field. I should note that I'm using a client template to display a text for that field,

Why Is `data(“kendogrid”)` Undefined?

六月ゝ 毕业季﹏ 提交于 2019-12-04 04:05:42
I'm a starter in kendo.ui, I've written this code to create kendo.ui.grid @(Html.Kendo().Grid<BrandViewModel>(Model) .Name("Grid") .Columns(columns => { columns.Bound(p => p.BrandName); columns.Bound(p => p.BrandAbbr); columns.Bound(p => p.SrcImage); columns.Command(command => command.Custom("Edit").Click("editItem")); }) .DataSource(dataSource => dataSource .Ajax() .Read(read => read.Action("CustomCommand_Read", "Brand")) .Model(model => model.Id(p => p.Id)) ) ) When the user clicks the edit button in grid it will show Edit view in kendo.ui.window and the user can edit data. @(Html.Kendo()