kendo-ui

How to access the kendo grid footer template value

大城市里の小女人 提交于 2021-02-08 06:17:15
问题 i have developed a web application using kendo tools and asp.net mvc4.. below is a screenshot of the grid i'm using and i need to get the value of footer under the "Total Stock" column.. according to this, the total value is $74,050.85.. i need to assign this value to a text box or a variable and use it in some where else but there no positive feedback from the online resources.. can somebody please tell me that how to get a value from footer template .. 回答1: You can get the footer aggregate

Multiselect list in Kendo Grid inline editing

混江龙づ霸主 提交于 2021-02-07 19:43:35
问题 I need to use multiselect list in kendo grid (inline editing) so that user can select multiple values from the list per row. Following are my requirements: At the time of display, kendo grid should show comma separated list of all the selected values. At the time of Add, kendo grid should show multiselect list and allow to select multiple values. At the time of Edit, kendo grid should show multiselect list with already selected values. User should be able to modify the select and add/remove

Using a Kendo Grid, how do you change the wording on the “Create” button in the toolbar?

别来无恙 提交于 2021-02-07 11:32:30
问题 I'm using a Kendo Grid I added the "create" to do an inline add of a record. How can I change the wording on the add button? Currently it reads: "Add a new Record" I want to simplify it to read just "Add" and I'd also like to keep the same Icon. My code looks like: $reports.kendoGrid( { dataSource: dataSource, toolbar: ["create"], ... Any suggestions would be greatly appreciated. 回答1: The way to do this is using the following syntax: $reports.kendoGrid( { dataSource: dataSource, toolbar: [{

KendoUI datetime picker - Calling an on click function when previous/next month is selected

烈酒焚心 提交于 2021-01-29 10:11:46
问题 I'd like to trigger an on click event when the user clicks the previous/next month buttons on the Kendo UI date time picker. The documentation tells me there isn't an event that is triggered when this happens, so I need to make an on click event. The buttons don't have id's but do have unique classes: k-nav-prev for the previous month button and k-nav-next for the next month button. However, when I try to put an alert for the on click event for those classes nothing happens. Would anyone know

Binding array of object to Kendo grid popup multiselect

☆樱花仙子☆ 提交于 2021-01-29 07:30:25
问题 I'm trying to bind an array of id-value pairs to a kendo grid popup editor. Got everything to work for creating a new record. Popup editor loads the custom editor and successfully submits the data to the controller. The problem is when I try to edit records. The records displays properly in the row, but when I try to edit it, the multiselect does not hold the values. Grid Markup $("#ProjectSites-SubContract-grid").kendoGrid({ dataSource: { type: "json", schema: { data: "Data", total: "Total",

How to add separator to kendo toolbar splitbutton menuitems

核能气质少年 提交于 2021-01-29 05:23:47
问题 Kendo UI 2015.2.805 I want to add a separator line between menu items on the toolbars's split button dropdown. I know how to add a separator line between toolbar buttons, as shown below, but it does not work for the menuButtons array. $("#my_toolbar").kendoToolBar({ items: [ { type: "button", text: "Option 1" }, { type: "separator"}, { type: "button", text: "Option 2" }, { type: "splitButton", text: "Actions", menuButtons: [ { id: "button_3", text: "Option 3" }, { id: "button_4", text:

kendo-numerictextbox' is not a known element

為{幸葍}努か 提交于 2021-01-28 20:10:31
问题 I am getting error while trying to implement kendo-numerictextbox in angular 7 application. I am currently using kendo-dropdownlist and textbox controls without any issues. I am not sure what package is missing. Is there some dependency that I am missing <kendo-numerictextbox [(ngModel)]="f.RedsNoticeDays" style="width: 100%; height: 29.5px;"></kendo-numerictextbox> I am getting the following error and dont know the reason why app.module import { LayoutModule } from '@progress/kendo-angular

Kendo Grid - Make a cell editable/uneditable for each row dynamically

痞子三分冷 提交于 2021-01-28 18:50:23
问题 I have a Kendo Grid where the COR ABA No. may or may not be editable, depending on a value in the first column. So, if NOC Code=='C01', then COR ABA No. is editable, otherwise it is not. I have achieved this by adding the Edit event on the columns and in that edit handler disabling the HTML input Kendo creates, when no editing is allowed. (In the grid definition, I have Editable(true) to start). I want instead to do this by doing the logic check in the DataBound event for the grid. That is,

Initiates the Excel export (Large number of rows) using kendoGrid

假装没事ソ 提交于 2021-01-28 09:41:17
问题 After the data get loaded in the Grid , I have a requirement to ' Export to Excel ' This works perfectly when i have lesser number of rows around 100s but now I am getting data which is exactly 12250 rows. This is getting loaded to the Grid but when I try to ' Export to Excel ' its not working. This load's my grid ` .Columns(column => { column.Bound(p => p.CBCustomerName).Title("CB Customers"); column.Bound(p => p.CBReceiveDateTimeUTC).Title("CB Date").Format("{0:MM/dd/yyyy}"); column.Bound(p

kendo UI grid created on fly using javascript

两盒软妹~` 提交于 2021-01-28 08:49:20
问题 I have one of the grid column called Action Links and it shows data as JSON format as follows: {"Id" : "1", "Flag1": "1", "Flag2": "1"} {"Id" : "2", "Flag1": "1", "Flag2": "1", "Flag3": "1"} {"Id" : "3", "Flag1": "1" } I am able to parse data and get all the Flags and Id's but my problem now is if i see "Flag1" = 1 then in the same column Action Links,i need to replace the data to show a image icon and " onclick " open a new window with parameter as Id = 1. If all the flags are 1 then show 3