Unplanned
Last Updated: 29 Jan 2020 10:55 by Mohammed

Bug Report

When endless scrolling is implemented, manual DataSource operations using the DataSource APIs(query, page, sort, etc.) do not work as expected.  The endless scrolling settings are causing paging issues.  

Reproduction of the problem

  1. Visit this Kendo UI Dojo.
  2. Scroll to 40.
  3. Click the Reset Filter button.

Current Behavior

The first page is only accessible, and when scrolling down the reads continue to occur.

Expected/desired behavior

The endless scrolling settings should not interfere with manual dataSource operations.

Workarounds

  1. Solution when read is called, the Kendo UI Grid will reset to its original state(dojo). 
        kendo.ui.Pager.fn._refreshClick = function (e) {
            e.preventDefault();
            var grid = $("#grid").getKendoGrid();
            grid.dataSource.options.endless = null;
          	grid._endlessPageSize = 20;
          	grid.dataSource.pageSize(20);
        }
  2. Solution which overrides the data(dojo).
        kendo.ui.Pager.fn._refreshClick = function (e) {
            e.preventDefault();
            var grid = $("#grid").getKendoGrid();
            window.restoreScroll = true;
            window.scolledValue = grid.content[0].scrollTop;
            grid.dataSource._data.empty();
            grid.dataSource._pristineData = [];
            grid.dataSource.read();
        }

Environment

  • Kendo UI version: 2020.1.114
Unplanned
Last Updated: 11 Jan 2021 15:23 by ADMIN
Support for NullDisplayText property of the DisplayFormat metadata attribute.
Unplanned
Last Updated: 30 Aug 2023 23:32 by Dialog
Created by: Meliton Pablo
Comments: 5
Category: Grid
Type: Feature Request
10

I use getOptions() and setOptions() to persist the state of the ajax bound grid that I have.

My toolbar is not a server one, it is this:

.ToolBar(toolbar =>toolbar.Create().HtmlAttributes(new { @class ="k-primary"}))

When I call the setOptions() method, it removes the Add button from the grid header.

Unplanned
Last Updated: 19 Nov 2021 13:48 by ADMIN
Created by: David
Comments: 1
Category: Grid
Type: Feature Request
7

It would be great if we could use the built in column filtering on columns containing arrays.

Or at the very least have a workaround (which I have not been able to find on the site).

I understand that the current implementation relies on the data being flat, but support for the following situation would be great:

- Grid cell is bound to an array and a template is used to display character delimited data (ie. One, two, three, four).

- Column filtering will display multi select options for the data.

 

Unplanned
Last Updated: 20 Jan 2023 14:01 by ADMIN

Currently, the autoFitColumn() method shouldn't be used to resize all columns in a large grid, as noted here: https://docs.telerik.com/kendo-ui/api/javascript/ui/grid/methods/autofitcolumn

Could this performance be improved by deferring the width calculation?  So a 10 column grid could be completely autoFit with 1 calculation instead of 10.

Could an .AutoFit(true) method be added to the GridColumnBuilder's Fluent Api?  

This would allow me to build columns such as:

.Columns(column => column.Bound(model => model.Value).AutoFit())

This should defer the autofit calculations so that they can be run once for all auto-fitted columns, rather than re-calculating for every column.

In other words, this should NOT simply call autoFitColumn() as it is currently implemented.

Unplanned
Last Updated: 10 May 2022 09:54 by n/a
Unplanned
Last Updated: 16 Dec 2019 09:16 by ADMIN

We are using the Kendo UI for different components like Grid in our APS.Net MVC application. Currently we are experiencing an issue while exporting the Kendo grid to Excel from mobile (both android and ios). It shows the following warning message. The same works when exporting from a PC without any issue. Could you please help to resolve the issue.

Unplanned
Last Updated: 30 Jun 2021 10:57 by ADMIN
Created by: Steven
Comments: 0
Category: Grid
Type: Feature Request
2

Implement an option to control the columns width in scenarios that involve resizing the browser window.

Currently, if you specify the width of all the columns, on resizing the browser window the columns automatically resize proportionally. A column property MaxWidth would be nice to have, since it would prevent columns from resizing beyond a specified width value.

Unplanned
Last Updated: 08 Mar 2023 08:50 by John
Created by: John
Comments: 0
Category: Grid
Type: Feature Request
2
Add an option that allows rendering a button in the search panel of the Grid. If enabled, it should allow filtering the data on click, instead of on typing in the search input.
Unplanned
Last Updated: 14 Jul 2021 05:56 by ADMIN
Created by: Mohammed
Comments: 0
Category: Grid
Type: Feature Request
2
Improve the Grid's PDF export, so that locked columns can be properly exported.
Unplanned
Last Updated: 10 Jun 2022 15:32 by Dhanaraj
Created by: Dhanaraj
Comments: 0
Category: Grid
Type: Feature Request
2
Add batch support to the Grid, when it is configured to use Inline editing mode.
Unplanned
Last Updated: 21 Dec 2021 18:34 by ADMIN
Created by: Tom
Comments: 0
Category: Grid
Type: Feature Request
2
Implement TimeSpan filtering capabilities in the Grid. This would be helpful, if you want to filter a column bound to a filed of TimeSpan type.
Unplanned
Last Updated: 21 Jan 2020 08:12 by ADMIN

add a grid to a view

open the view with data bound to the grid.

First line of data is not selected.

 

Now i have to program the ondatabound property for a function which belongs to the grid component. Make it configurable for grids which do not need this feature or vice versa.

Unplanned
Last Updated: 20 Jul 2020 13:38 by ADMIN

Aligning numeric values in grids is common place and best practise.  Kendo Grid does not provide any neat functionality for this, especially in MVC where the model is strongly typed. Where a MVC grid is bound to a model, the Razor Wrapper would work better if it right aligned columns if for example type int (or other numeric types which are better to be right aligned). Where this needs not to be the case a data annotation would suit.

eg.

public class MyModel
{
   [AlignRight(false)]
   public int ProductID {get; set;}

   public int Age {get; set; } // aligned right by default in Kendo Grid because of int type
}

In the above case ProductID would be left aligned, and Age would be right (which could be the default for all integer types)

With this functionality the razor implementation could also provide an align property to override align functionality.  An AutoAlign property could provide this functionalityto auto detect from model  or not (and also allow this functionality as being off to provide backwards compatibility)

@(Html.Kendo().Grid<MyModel>() .Name("grid")
.AutoAlign(false) .Columns(columns => { columns.Bound(c => c.ProductID).AlignRight(false) columns.Bound(c => c.Age).AlignRight(True) })


Unplanned
Last Updated: 02 Sep 2020 11:09 by ADMIN
Hi Team,

I would like to request the ability to reassign the context of a function in the Kendo UI Grid events.  For example, using the DataBound event, setting This to not be the Grid (e.sender) This would be useful to be able to use my TypeScript class methods.

Thank you.
Unplanned
Last Updated: 18 Feb 2021 11:38 by ADMIN
Created by: Developer
Comments: 0
Category: Grid
Type: Bug Report
1

A recent update has revealed some strange behaviour in some (not all) grids. In the attached screenshot, the javascript for the two buttons is on display inside the toolbar. If I move them out of the toolbar, the script no longer displays.

As a workaround, I have added this to CSS:

script {
	display: none !important;
}

Unplanned
Last Updated: 02 Jul 2021 06:47 by ADMIN
Created by: Luan
Comments: 0
Category: Grid
Type: Feature Request
1
Add an event that fires when the Grid is configured for endless scrolling and data is loaded after the user scrolls the Grid. The DataBinding and DataBound events fire in this scenario, but their event data does not contain information on what operation triggered the events.
Unplanned
Last Updated: 20 Jul 2021 10:43 by ADMIN

In the Kendo UI for jQuery Grid, fields that are not editable are displayed as text (no input elements) in the Grid's popup editor. The MVC Grid displays all fields that are present in the view model it is bound to in its popup editor.

Implement an option to configure the editable fields, so that the behavior of the MVC Grid matches that of its Kendo UI counterpart.

Unplanned
Last Updated: 26 Jul 2021 17:12 by ADMIN
Enhance Filter Multi to support value and text and to allow server filtering. It would help avoid performance issues in scenarios that involve loading thousands or hundreds of thousands of records in the Filter.
Unplanned
Last Updated: 03 Aug 2021 13:03 by ADMIN
Created by: Barnabas
Comments: 0
Category: Grid
Type: Feature Request
1
Implement a client-side API method that allows setting the SingleFileTemplate programmatically. This could be useful when initializing the FileManager in a Grid detail template. In such scenarios the FileManager's template must be set programmatically in the Grid's DetailInit event. However, the FileManager does not have a method for setting its template. The setOptions method does not work for setting a template (throws an exception).
1 2 3