kendo-grid

Check / Uncheck Kendo Grid Columns Conditionally

六月ゝ 毕业季﹏ 提交于 2019-12-08 10:38:11
问题 I had a scenario where I need to hide/ show first column header in kendo grid based on two checkbox click. I tried the HideColumn functionality but it was not working. I later used the Hidden property and is working properly. But now i wanted to hide some more columns(second till fourth). I dont know how to access those columns. I tried all the techniques mentioned in this site but nothing helped(https://docs.telerik.com/kendo-ui/api/javascript/ui/grid/methods/showcolumn). Can someone help me

Kendo Grid Filter on a dynamic column

若如初见. 提交于 2019-12-08 09:45:56
问题 I am working on a Kendo Grid which has a Status column that is an aggregate of statuses of several other columns. I track the individual statuses as integer values and the aggregate column should show the least of the statuses. Now, using template, I am able to render the text for the Status column fine, however, the problem is that I want this column to be filterable. This is not working as the value is calculated. In DataSource, this is how I have declared the custom field, schema: { model:

Kendo UI Grid not showing JSON data

无人久伴 提交于 2019-12-08 09:41:55
问题 I am facing this problem for quite a while now with the problem that I am unable to bind JSON data that my controller action is passing to the kendo UI Grid, there were few JavaScript issues before but now they are gone but still my grid is not showing any results: In Model : public object GetResult(string id) { var sqlCom = new SqlCommand("SELECT [No],[Desc],[Date],[Height],[Final] FROM [cr_form] WHERE [uId]=@id;", sqlConn); sqlCom.Parameters.AddWithValue("@id", id); StringBuilder sb = new

Kendo UI Window on grid button click does not open second time

谁都会走 提交于 2019-12-08 08:03:33
问题 im working on an MVC Kendo Ui project and i'm having the following problem: I have an editable kendo grid with a custom edit button wich opens a partial view on a kendo window wich acts like an "editor template". This seems to work fine first time but if i close the window and try to edit another item or even the same just does not work. I think that when i close the window this eliminate the elemment from the DOM but can't figure it out how to fix it. Here is some code: @(Html.Kendo().Grid

kendo local and remote datasource

纵然是瞬间 提交于 2019-12-08 07:37:12
问题 I am integrating with the spotfire web player, when I select rows I can trap the event and send the rows to my datasource, however, when I save I'd like to call a service. Is there a way to combine local data source and remote? Thank you. 回答1: What do you mean by combine local data and remote? Variant 1 : You can use dataSource.data - to set the initial records used. And define separate transport that will be used for future requests (after the initial one) Variant 2 : You can define the

date changes on export kendoGrid

自古美人都是妖i 提交于 2019-12-08 07:31:20
问题 I have this table made with kendoUI, When user export the table to excel, all dates values change, the issue appears only in chrome, firefox works fine. You can try the runnable on this link var localData=[ {cliente:'COMERCIALIZACION',lote:1323,calidad:'PRIMERAS',fecha:'2017-07-07',sacos:10}, {cliente:'COMERCIALIZACION',lote:1324,calidad:'PRIMERAS',fecha:'2017-07-07',sacos:80},{cliente:'COMERCIALIZACION',lote:1325,calidad:'PRIMERAS',fecha:'2017-07-07',sacos:29}, {cliente:'COMERCIALIZACION'

Kendo UI Icons not displayed in Web browser control

懵懂的女人 提交于 2019-12-08 06:28:07
问题 I have a website developed using Kendo UI(kendoui.professional.2017.1.118.commercial). The Kendo icons(Grid Edit(k-i-edit) and delete command button icons and calendar control icons and grid pager icons, etc.) are not visible when i open my website in Microsoft Browser Control where as if i open the website in Internet Explorer browser the icons are displayed. Observed the following: I am using Windows Server 2012 R2 OS where the IE Enhanced Security Configuration is "ON". If i make this "OFF

Kendo grid column with image from a server

女生的网名这么多〃 提交于 2019-12-08 06:15:32
问题 I've got a Kendo grid that displays images correctly on a column if the images are stored in my machine. @(Html.Kendo().Grid<ProjectName.Models.SomeModel>() .Name("grid") .Columns(columns => { ... columns.Bound(c => c.Image).ClientTemplate("<img src='c:/pics/" + "#=Image#' alt='image' Title='image' height='24'/>").Title("Image"); }) So, this correctly displays images that are stored on my local hard drive, in the path c:/pics . But now I need to show images that are stored in a specific

Kendo Grid in Bootstrap 2 or 3 Modal - IE Filters do not work

不羁岁月 提交于 2019-12-08 06:15:12
问题 Please check this out in IE (boot v2): http://jsbin.com/emuqazEz/22 Here is bootstrap 3 version: http://jsbin.com/emuqazEz/31 Here is the editable version: http://jsbin.com/emuqazEz/22/edit The filters do not work at all in any version of IE I have tested. It works fine however in Chrome or Firefox. Here is are the column settings and the datasource: columnsettings = [ "ProductName", { field: "UnitPrice", title: "Unit Price", format: "{0:c}", width: "130px" }, { field: "UnitsInStock", title:

Create another toolbar in kendo grid

我的梦境 提交于 2019-12-08 05:54:05
问题 I am using Kendo library for grid. I want to have a toolbar in that grid. I have followed this link - http://demos.kendoui.com/web/grid/toolbar-template.html and created a toolbar at the top I also want to add another toolbar at the bottom of grid. Below or above pagination bar. I could not find any way to create this extra toolbar. Please help. 回答1: There are two ways of getting it: You let Kendo UI generate in the top and then you move it to the bottom You generate it to the bottom. The