Kendo UI Web - Grid Create/Update/Delete


no time

I'm having issues with Kendo UI Web and datasources. The read works fine, I've serialized the database objects with JSON and am able to view them in the grid. I need some pointers on how to make create, update and delete work. By the way, I'm using the default MVC EF controller.

Is there a complete guide to setting up the grid? I've been searching but can't seem to find the right one.

Note that since I'm using Kendo UI Web (which doesn't include helpers), I can't use helpers.

no time

solved! I changed the parameterMap function in JS to the following and voila:

parameterMap: function (options, operation) {
if (operation == "create") {
    return {
        Category: options.Category
    };
}
return options; }

Hope it helps others with the same problem.

Related


Kendo UI Web - Grid Create/Update/Delete

no time I'm having issues with Kendo UI Web and datasources. The read works fine, I've serialized the database objects with JSON and am able to view them in the grid. I need some pointers on how to make create, update and delete work. By the way, I'm using the

Kendo UI Web - Grid Create/Update/Delete

no time I'm having issues with Kendo UI Web and datasources. The read works fine, I've serialized the database objects with JSON and am able to view them in the grid. I need some pointers on how to make create, update and delete work. By the way, I'm using the

Kendo UI grid select row via Selenium web driver

Mark Jones I'm trying to write UI tests for an application that uses Kendo Grid. I'm using selenium to drive a browser and I'm having trouble selecting a row in the grid. I've been able to select the correct row as follows: IWebElement matterToSelect = MatterT

Kendo UI grid select row via Selenium web driver

Mark Jones I'm trying to write UI tests for an application that uses Kendo Grid. I'm using selenium to drive a browser and I'm having trouble selecting a row in the grid. I've been able to select the correct row as follows: IWebElement matterToSelect = MatterT

Kendo UI grid update

username I'm using a Kendo UI grid with a service that requires a POST request to update the row as a JSON string instead of a URL encoded form. My grid datasource configuration looks like this: dataSource: new kendo.data.DataSource({ transport: {

Kendo UI grid update

username I'm using a Kendo UI grid with a service that requires a POST request to update the row as a JSON string instead of a URL encoded form. My grid datasource configuration looks like this: dataSource: new kendo.data.DataSource({ transport: {

Kendo UI Grid Hierarchy

Ivan Crojach Karačić What I have is the following DTO passed from the service class ServiceDto { public string Name { get; set; } public string Complete { get; set; } public string Incomplete{ get; set; } public List<ServiceDto> Detail{ get

Kendo UI Grid Hierarchy

Ivan Crojach Karačić What I have is the following DTO passed from the service class ServiceDto { public string Name { get; set; } public string Complete { get; set; } public string Incomplete{ get; set; } public List<ServiceDto> Detail{ get

Kendo UI grid update

username I'm using a Kendo UI grid with a service that requires a POST request to update the row as a JSON string instead of a URL encoded form. My grid datasource configuration looks like this: dataSource: new kendo.data.DataSource({ transport: {

Kendo UI - Tooltips in Grid

no time I am trying to create a tooltip for my grid like this: $("#grid").kendoTooltip({ autoHide: true, showOn: "mouseenter", width:125, height:125, position: "right", filter: ".k-grid-content a.hasTooltip", content: kendo.template

UI unresponsive to Kendo grid

Charvari I've been having issues with kendo grids for the following situations. I have a kendo grid with 18 columns. The user can select multiple rows. The number of rows is mostly over 10000. To get the selected row, I am using grid.select(). To extract conte

Kendo UI grid update

username I'm using a Kendo UI grid with a service that requires a POST request to update the row as a JSON string instead of a URL encoded form. My grid datasource configuration looks like this: dataSource: new kendo.data.DataSource({ transport: {

Kendo UI Grid Hierarchy

Ivan Crojach Karačić What I have is the following DTO passed from the service class ServiceDto { public string Name { get; set; } public string Complete { get; set; } public string Incomplete{ get; set; } public List<ServiceDto> Detail{ get

Kendo UI - Tooltips in Grid

no time I am trying to create a tooltip for my grid like this: $("#grid").kendoTooltip({ autoHide: true, showOn: "mouseenter", width:125, height:125, position: "right", filter: ".k-grid-content a.hasTooltip", content: kendo.template

UI unresponsive to Kendo grid

Charvari I've been having issues with kendo grids for the following situations. I have a kendo grid with 18 columns. The user can select multiple rows. The number of rows is mostly over 10000. To get the selected row, I am using grid.select(). To extract conte

Kendo ui grid (if other conditions)

pilot What's wrong with my code? I have to check in the kendo UI grid if there is "OrderType 20" in the column. If so, I need to apply the css condition that includes the background, but it doesn't work, can anyone help me? thanks template: '# if (OrderType ==

Kendo UI grid binds twice

Trevor Goode Inherited a Kendo app I'm trying to fix and really stuck here. I have a search page bound to a datasource twice and can't figure it out. Here is the grid code: @(Html.Kendo().Grid<Flex.Models.AddEntryEditModel>() .Name("EventGrid") .Column

Kendo UI Grid replacement fee

Juancho Ramone Are there any free/open source alternatives to Kendo UI Grid? I used to use the Grid module included in the free version, but don't use it anymore because it's too expensive for me because I only need the Grid module. Jarno Lahtinen I don't know

Kendo ui grid (if other conditions)

pilot What's wrong with my code? I have to check in the kendo UI grid if there is "OrderType 20" in the column. If so, I need to apply the css condition that includes the background, but it doesn't work, can anyone help me? thanks template: '# if (OrderType ==

Kendo UI grid dropdown and angular

Dalton 5 I try to set custom dropdown menu in Kendo UI. I have mentioned my problem. http://dojo.telerik.com/aFIZa/13 My problem is that I don't know how to set the selected text in the template property? I want to display the text field but save the ID as a v

Kendo UI Grid - Grouping Header

Ice Whisperer I want to implement Collapse/Expand all (in AngularJs) functionality for a grouped Kendo UI Grid and add it to the header of the Grid. Do you know how I can put my function there (see attached). Thanks! Dojo with normal grid with active grouping

Kendo UI Grid replacement fee

Juancho Ramone Are there any free/open source alternatives to Kendo UI Grid? I used to use the Grid module included in the free version, but don't use it anymore because it's too expensive for me because I only need the Grid module. Jarno Lahtinen I don't know

Kendo UI Grid with CSS Reference

blind I'm trying to write code that must conform to certain rules. Currently, I'm working on a part that looks like this: <head><link rel="stylesheet" href="Site.css"></head> <div class="row"> <div class="col-md-12"> @(Html.Kendo() .Gr

Kendo UI grid undefined decimal

Daniel Gustafson Here is my grid: $("#grid").kendoGrid({ dataSource: { type: "odata", transport: { read: { url: '/Discount/Get', dataType: "jsonp", type: "POST" },

Kendo ui grid (if other conditions)

pilot What's wrong with my code? I have to check in the kendo UI grid if there is "OrderType 20" in the column. If so, I need to apply the css condition that includes the background, but it doesn't work, can anyone help me? thanks template: '# if (OrderType ==

Kendo UI grid binds twice

Trevor Goode Inherited a Kendo app I'm trying to fix and really stuck here. I have a search page bound to a datasource twice and can't figure it out. Here is the grid code: @(Html.Kendo().Grid<Flex.Models.AddEntryEditModel>() .Name("EventGrid") .Column

Kendo UI grid binds twice

Trevor Goode Inherited a Kendo app I'm trying to fix and really stuck here. I have a search page bound to a datasource twice and can't figure it out. Here is the grid code: @(Html.Kendo().Grid<Flex.Models.AddEntryEditModel>() .Name("EventGrid") .Column

Kendo UI grid binds twice

Trevor Goode Inherited a Kendo app I'm trying to fix and really stuck here. I have a search page bound to a datasource twice and can't figure it out. Here is the grid code: @(Html.Kendo().Grid<Flex.Models.AddEntryEditModel>() .Name("EventGrid") .Column

Kendo UI grid with multiple values

nyn3x I want to add kendo-ui-grid to my page which should contain columns with multi-values. Imagine the following data: | Name | Tag | |--------|---------------------| | John | C#, JavaScript, PHP | | Oliver | UI, SQL | | Mark