Won't Fix
Last Updated: 03 Dec 2020 15:51 by ADMIN

It's kind of difficult to describe in the subject, but here's the scenario. In an ASP.NET Core 3.1 web app, we have some different Kendo Grids that are generated by using the HTML Helper. Some of these use server operations while others do not. Following the information in the Persist State demo, I'm working on changes to save the grid options (sorting, filtering, page number, etc.) when the user navigates away from a page, then restore them the next time it's loaded. With a grid we have using server operations, this is working well so far. For a grid we have using client operations, on the other hand, I'm getting unexpected results.

 

Example:

@(Html.Kendo().Grid(new[]
   {
      new { ProductName = "Product 1", UnitPrice = 3.50 },
      new { ProductName = "Product 2", UnitPrice = 5.30 }
   })
   .Name("TestGrid")
   .NoRecords(n => n.Template("No records found"))
   .Columns(columns =>
   {
      columns.Bound(p => p.ProductName);
      columns.Bound(p => p.UnitPrice);
   })
   .DataSource(dataSource => dataSource
       .Ajax()
       .PageSize(20)
       .ServerOperation(false)
   )
)
<script>
   $(document).ready(function () {
      var grid = $("#TestGrid").data("kendoGrid");
      var options = grid.getOptions();
      grid.setOptions(options);
   });
</script>

 

If you comment out the JavaScript, you get a working grid. With the JavaScript in place, this should get the options from the grid, then immediately re-apply those same options (just for testing purposes) and the grid should end up looking the same as it did before. However, the setOptions() call seems to be triggering a POST back to the same page (with the data "sort=&group=&filter=") then wiping the data from the grid and showing the "No records found" message. However, since this grid is bound to a model property and has ServerOperation(false), all of the data needed is already at the client and there is no Ajax request that exists to get this data.

 

This is the code from viewing the source that was rendered by the code in the View from above:

<div id="TestGrid" name="TestGrid"></div><script>kendo.syncReady(function(){jQuery("#TestGrid").kendoGrid({"noRecords":{"template":"No records found"},"columns":[{"title":"Product Name","field":"ProductName","filterable":{"messages":{"selectedItemsFormat":"{0} selected items"},"checkAll":false},"encoded":true},{"title":"Unit Price","field":"UnitPrice","filterable":{"messages":{"selectedItemsFormat":"{0} selected items"},"checkAll":false},"encoded":true}],"scrollable":false,"dataSource":{"type":(function(){if(kendo.data.transports['aspnetmvc-ajax']){return 'aspnetmvc-ajax';} else{throw new Error('The kendo.aspnetmvc.min.js script is not included.');}})(),"transport":{"read":{"url":""},"prefix":""},"pageSize":20,"page":1,"groupPaging":false,"total":2,"schema":{"data":"Data","total":"Total","errors":"Errors","model":{"fields":{"ProductName":{"editable":false,"type":"string"},"UnitPrice":{"editable":false,"type":"number"}}}},"data":{"Data":[{"ProductName":"Product 1","UnitPrice":3.5},{"ProductName":"Product 2","UnitPrice":5.3}],"Total":2}}});});</script>
<script>
   $(document).ready(function () {
      var grid = $("#TestGrid").data("kendoGrid");
      var options = grid.getOptions();
      grid.setOptions(options);
   });
</script>

 

I'm not sure why it's attempting an Ajax request, but that appears to be what's causing the problems. With the other grid we have that *does* use server operations, I'm assuming we're not having this same problem because it does actually require an Ajax request to read the data.

Unplanned
Last Updated: 20 Jan 2021 09:09 by ADMIN

The Custom() DataSource has capability to set the initial Page of the grid:

        .PageSize(20)
        .Page(4)

While the Ajax() DataSource does not. It would be nice if it gets added.

Currently, you can use the page() method for local or .Ajax() bound grid:
https://docs.telerik.com/kendo-ui/api/javascript/data/datasource/methods/page

Or query:

https://docs.telerik.com/kendo-ui/api/javascript/data/datasource/methods/query

Completed
Last Updated: 28 Jan 2022 16:53 by ADMIN
Release 2022.R1
Created by: Nguyen Ngoc
Comments: 1
Category: Grid
Type: Feature Request
1

At moment the "ForeignKey" method supports only predicates. Is it possible to implement a String overload (a screenshot is attached)?

Completed
Last Updated: 09 May 2022 16:01 by ADMIN
Release 2022.R2

### Bug report

When the filter is applied through the search panel, the query (more specifically, the filter expressions) is not built correctly. This results in displayed rows that have values that do not match the value from the search panel.

### Reproduction of the problem

1. Enable Search panel and group paging of the grid.

2. Set a value in the search panel and group by a column.

3. Expand the group and verify that there are items with values that do not match the filter expression from the search panel.

Short video demonstration:

https://screencast-o-matic.com/watch/crXFlXVI3i0

### Expected/desired behavior

The returned results should comply with the filter expression built from the Search panel.

### TicketID:
_1543306

### Additional notes and explanation

The Search panel builds the filter expression with the logic operator "or". While this is correct when the actual query is further built from the data source's internals (group function of the kendo.data.js file), the filter will be built with the "or" logic instead of "and". This query has to be restructured in order to send two filter objects with the "and" logic. The first filter object should contain all filter expressions built from the search panel with the "or" logic operator and the second filter object should contain an expression with the operator "eq", the field by which the group is built, and the value. The two filter objects should be combined with the "and" logic. 

### Environment

* **Kendo UI version:** 2021.3.1109
* **jQuery version:** 1.12.4
* **Browser:** [all]

Completed
Last Updated: 25 Jun 2024 10:28 by ADMIN
Release 2024 Q3 (Aug)
Created by: Steve
Comments: 0
Category: Grid
Type: Bug Report
1

### Bug report

The Column.Exportable option is not correctly serialized and cannot be used to export hidden columns.

### Reproduction of the problem

1. Set Column.Exportable(true) and Column.Hidden(true).

2. Export the grid and see that the column is not present in the exported file.

### TicketID:
1543405

### Environment

* **Kendo UI version:** 2021.3.1109
* **jQuery version:** 1.12.4
* **Browser:** [all]

Completed
Last Updated: 09 May 2022 15:57 by ADMIN
Release 2022.R2

Bug report

When the Grid's Group Paging is enabled and its content is grouped, the Multicheckbox Filter doesn't filter the group data correctly.

Reproduction of the problem

  1. Run this REPL Example.
  2. Group by a column for example „City”
  3. Filter the Country column for example „USA”
  4. Check the result for a specific City group

Current behavior

The group shows rows that shouldn't be included when the column is filtered properly

Expected/desired behavior

The group should only show the filtered rows

TicketID:

1546090

Environment

  • Kendo UI version: 2021.3.1207
  • Browser: [all]
Completed
Last Updated: 28 Feb 2022 16:49 by ADMIN
Release 2022.R1.SP.next
### Bug report

When deleting a record in a grouped "inCell" editable Grid, the "Destroy" Action method is not triggered.

### Reproduction of the problem

Attached is a runnable sample. When the Grid's data is not grouped, the records are removed properly.

### Environment

* **Kendo UI version: 2022.1.119
* **jQuery version: 1.12.4
* **Browser: [all]
Completed
Last Updated: 31 Jan 2025 09:15 by ADMIN
Release 2025 Q1 (Feb)

### Bug report

When the Grid filter menu is customized with a DropDownList, the initial option defined by using the "index" property is not set.

### Reproduction of the problem

A Dojo sample for reproduction: https://dojo.telerik.com/OmeXUfaF


### Expected/desired behavior

The DropDownList should be initialized with an initially selected option.


### Environment

* **Kendo UI version: 2022.1.119
* **jQuery version: 1.12.4
* **Browser: [all]

Completed
Last Updated: 04 May 2022 08:37 by ADMIN
Release 2022.R1.SP1

Bug report

The Grid's Pager pageSize DropDown selected value is not shown properly in the Less Material theme

Reproduction of the problem

  1. Run this Demo

Expected/desired behavior

The value of the DropDown should be shown as expected

Environment

  • Kendo UI version: 2022.1.119
  • Browser: [all]
Completed
Last Updated: 15 Mar 2022 07:05 by ADMIN
Release 2022.R1.SP.next

### Bug report

The Kendo UI NumericTextBox is not rendered properly when it is added as a custom column filter through the "columns.filterable.ui" option.

### Reproduction of the problem

1. Use the "columns.filterable.ui" and define a JavaScript function which initializes a Kendo UI NumericTextBox;

2. Open the column filter menu and type in the input;

3. The entered value is not visible.

A Dojo sample for reproduction (filter column "Age"): https://dojo.telerik.com/OFuYawuC

### Expected/desired behavior

The NumericTextBox is wrapped in an additional "span" element with class "k-textbox". It should be removed.

### Environment

* **Kendo UI version: 2022.1.301
* **jQuery version: 1.12.4
* **Browser: [all]

Unplanned
Last Updated: 27 May 2022 10:36 by Rajesh
Created by: Rajesh
Comments: 0
Category: Grid
Type: Feature Request
1
Expose a configuration for displaying an edit confirmation dialog similar to the delete confirmation
Unplanned
Last Updated: 30 May 2022 15:38 by Nick
Created by: Nick
Comments: 0
Category: Grid
Type: Feature Request
1
Expose the ability to lock columns both on the left and right side
Unplanned
Last Updated: 29 Jun 2022 10:02 by Akesh Gupta

Is it possible to implement an option for the Telerik UI for ASP.NET Core Grid to change the default filter operator "eq" to "contains" when the Grid column checkbox filter menu is enabled?

For example:

columns.Bound(p => p.ShipName)
  .Filterable(ftb => ftb
    .Multi(true)
    .Search(true)
    .Operators(op => op
      .ForString(s => s
        .Clear()
        .Contains("Contains")
)));

//Filter expression:
filter: ShipName~contains~'test'

Unplanned
Last Updated: 01 Jul 2022 05:29 by Andreas
Created by: Andreas
Comments: 0
Category: Grid
Type: Feature Request
1

Hello Team Telerik,

we have a Grid with a Select column:

...
.Columns(c =>
        {          
                c.Select().Width(50)
....

We want to give users the ability to quickly group rows that are selected. However, grouping the Grid by the Select() column is not possible

Unplanned
Last Updated: 20 Jul 2022 16:03 by Carl

Is it possible to implement a method in the Read() configuration of the DataSource that will append parameters as name-value pairs to the query string?

For example:

.Read(r => r.URL(myUrlPath).Handler(myPageHandler).AddQryStrPairs(myNameValuePairsModel))

Currently, I am appending the parameters manually as follows:

.Read(r => r.Url(qurc.PageUrlPath 
 "?handler=Read&area=" +  TkgrArea + "&serviceType=" + qurc.ServiceType.ToString() + "&serviceTag=" + qurc.ServiceTag  + "&entityType=" + qurc.EntityType).Data("forgeryToken"))

 

 

Unplanned
Last Updated: 21 Jul 2022 08:16 by Genady

### Bug report

The localization messages for some of the default Grid commands are missing. They are translated in the kendo.messages.he-IL.min.js:

https://github.com/telerik/kendo-ui-core/blob/master/src/messages/kendo.messages.he-IL.js#L302

### Reproduction of the problem

1) Create a Telerik UI Grid and enable the commands Edit(), Destory(), and Create().

2) Set the client-side culture to "he-IL" and register the localization script for that culture.

3) The commands are not translated.

Here is a Dojo sample, where all available localization messages for culture "he-IL" are in place:

https://dojo.telerik.com/UvaMivaS

### Expected/desired behavior

The localization messages from the "kendo.messages.he-IL.min.js" file should be available for the Telerik UI Grid.

### Environment

* **Kendo UI version: 2022.2.621
* **jQuery version: 1.12.4
* **Browser: [all]

Completed
Last Updated: 09 Jan 2023 10:08 by ADMIN
Release R1.2023-Increment.3(18.Jan.2023)
Created by: SturmA
Comments: 1
Category: Grid
Type: Bug Report
1
The bug is related to calling multiple times the 'Create' action on Clicking 'Delete' button and could be reproduce with a Kendo sample:
 

I have updated the sample.
Steps to reproduce:
  1. The grid is configured to Virtual mode and add Groups.
  2. Expand a group
  3. Do NOT fetch all items in group, that's very Important!
  4. Click 'Delete' button
Result: I have debugged kendo code and found out that for each ''unfetched' row from the group, grid will take it as a 'new object' and will call 'Create' action for them.
'Create' actions are not called in case the group is fetched to the end and so all items are loaded!
Declined
Last Updated: 04 Sep 2024 10:31 by ADMIN

### Bug report

When the Grid is grouped by a specified column, and this column has a "groupFooterTemplate" that contains aggregates from other fields, it cannot be exported to Excel. It throws a JavaScript exception.

### Reproduction of the problem

1) Group the Grid by the column "ProductName".

2) Export it to Excel through the built-in command "Export to Excel".

3) JS exception is thrown.

A Dojo sample for reproduction: https://dojo.telerik.com/UyUruyOZ

### Expected/desired behavior

The Excel export should work as expected when the Grid is grouped.

### Environment

* **Kendo UI version: 2022.2.802
* **jQuery version: 1.12.4
* **Browser: [all]

Completed
Last Updated: 29 Sep 2022 14:05 by ADMIN
Release R1.2023-Increment.1(09.Nov.2022)

Bug report

Grid's headers break upon ungrouping when the filterable mode is set to "row"

Reproduction of the problem

  1. Run the following dojo.
  2. Drag a column for grouping.
  3. Ungroup the column.

Current behavior

Upon ungrouping the Grid's headers are disrupted.

Expected/desired behavior

The Grid's headers should not be disrupted upon ungrouping.

Environment

  • Kendo UI version: 2022.3.913
  • Browser: [all]
Completed
Last Updated: 13 Feb 2024 08:29 by ADMIN
Created by: Paul
Comments: 0
Category: Grid
Type: Bug Report
1

Bug report

When the Grid's PopUp Editing is enabled on mobile devices there are additional inputs or missing styling in the PopUp.

Reproduction of the problem

  1. Open the Grid's Adaptive Rendering Demo
  2. Scan it with your mobile device and open the Demo on it
  3. Click the 'Add new record' or 'Edit'

Note: The issue doesn't reproduce in a browser's DevTools on desktop

Current behavior

The PopUp is misaligned or its styles are missing on mobile devices

Environment

  • Kendo UI version: 2022.3.913
  • Browser: [ Mobile Chrome | Android Web Browser | iOS Safari ]