kendo-grid

Color out a row in Kendo Grid [duplicate]

余生长醉 提交于 2019-12-25 09:12:00
问题 This question already has answers here : Gray out a row in kendo grid based on column value (2 answers) Closed 3 years ago . I have a Kendo Grid whose values get populated based on a post call. I need to gray out an entire row if one of the column has a value "REGISTERED". Is there a way we can achieve this? Here is my code: $("#grid").kendoGrid({ columns: [ { field: "name", title: "Release Name" }, { field: "number", title: "Number" }, { field: "status", title: "Registration Status" } ],

Kendo Grid - Detail Template - DataSource Read is not firing the controller action

二次信任 提交于 2019-12-25 09:05:31
问题 App type: ASP.NET MVC with Kendo framework Problem Encountered: The detail template is not firing the controller action method. Please find the attached screenshot also. I checked it under the firebug window also, there is no ajax call to the controller action method "PublishedImportFiles_Read" . This is making me crazy and annoying. No error is thrown or shown for this anomaly. I guess i am missing something very small. Please help. MVC - View Code <div class="gapLeft gapBelow20" style=

change cell styling in KendoGrid

丶灬走出姿态 提交于 2019-12-25 08:27:40
问题 Just discovered the KendoGrid and was trying to change the style of an individual column(cell) after changing another cellvalue. For example I have a grid with a shipname and shipcity column. Suppose I have a business rule that says : 'Make shipcity cell value disabled when the shipname on the same row has the same value' I found this sample which uses the blur event which I probably use, what would be a good way of implementing this rule? Also nice to know your opinion in relation to asp.net

Grid data isn't align with Grid header when tabbing through header columns

▼魔方 西西 提交于 2019-12-25 08:21:03
问题 when I tab through my kendo-ui grid in the header cells, I face the following issue: only the header columns are scrolled and not the content columns. See: grid with wrong aligned columns. To reproduce this issue I created a DOJO, see: http://dojo.telerik.com/OFORe/2 . Any ideas, how to get the content scroll with the header while tabbing? Btw when I use the horizontal scrollbar and scroll manually to the right, the columns are aligned correctly. Thanks, bizlina 回答1: the problem is, that

Kendo UI Grid Update button not firing

守給你的承諾、 提交于 2019-12-25 06:58:40
问题 I am developing a KendoUI Grid with Inline editable option in javascript and can't make Update button to fire click event and post the data to server side update event. Clicking on Update button won't even update the grid on client. Hope someone can help me point out what I am doing wrong here. This is not a duplicate to this as I have tired the jfiddle link in the answer and it is not working too. kendo UI grid update function wont fire <div id="grid"></div> @section Scripts{ <script type=

how to open a JSP page in popup editor using kendo UI

Deadly 提交于 2019-12-25 04:45:36
问题 I am using Kendo-UI with JSP-wrapper ( <kendo:grid> ) . I have two JSP pages Employee.jsp & EmployeeDetails.jsp .the sample code for employeeDetails.jsp is given on Kendo Grid using JSP wrapper EmployeeDetails has a grid with editable_mode =popup.which is working fine.But since in Employee.jsp we have a lots of data so the popup window is very large and hard to maintain. the output what i wanted is the popup should comes in two row with custom style sheet instead of default one row and Keno

Format of date selected from Kendo DatePicker Inside Kendo Grid

一个人想着一个人 提交于 2019-12-25 04:42:01
问题 I have kendo grid that i generated through Jquery. I have a date column inside it which is editable . Editing is happening properly , the problem is with formatting of data once I select the date in the datapicker. Grid: divSearchGrid.kendoGrid({ dataSource: { transport: { read: function (options) { $.ajax({ type: "POST", url: urlSearch, data: paramsSearch, contentType: "application/json; charset=utf-8", dataType: "json", success: function (result) { var data = result.d; if (data != null) {

how do I get the ID of the selected row from the detailInit, then collapse the detailInit and place that selected data into the parent grid?

天涯浪子 提交于 2019-12-25 04:18:21
问题 I have a heirical kendo grid being used in my main grid, my question is that how do I get the ID of the selected row from the detailInit, then collapse the detailInit and place that selected data into the parent grid? My grid looks like this function TheCatalogGrid(catalogData) { $("#CatalogGrid").kendoGrid({ dataSource: { data: catalogData }, columns: [ { field: "globalGroupID", title: "Group ID", hidden: true }, { field: "globalGroupLevel", title: "globalGroupLevel", hidden: true }, { field

Kendo grid with DropDown in column has messed up styling

风流意气都作罢 提交于 2019-12-25 03:48:21
问题 I've hooked up a DropDown editor inside a Grid column, and I've followed the Kendo example here : http://demos.telerik.com/kendo-ui/grid/editing-custom I actually do have the downdown editor working in Add/Edit mode, and with the DataSource binded to it. However, I can't figure out why the styling is all messed up. As you can see in the below image, the dropdown is rendered but there is also an text box rendered just below it. All appears to be styling fine in my plunker example, http://plnkr

Having difficulty creating an array of Json objects for use in a Kendo grid

耗尽温柔 提交于 2019-12-25 03:37:23
问题 I need to convert a server response from an array to an array of JSON object format. The rows of data coming fron the server needs to be converted in order for the Kendo UI grid widget to work properly. I have converted the schema and column definitions into a Json format, but having some difficulty with the actual data rows. Here's the RAW server response where 1) the "data" array contains the data schema 2) the "rows" array contains the actual values : {"status":"SUCCESS", "messages":[],