Declined
Last Updated: 16 Nov 2021 08:57 by ADMIN
Created by: Kyle
Comments: 1
Category: Grid
Type: Feature Request
0

You guys do such a great job of allowing us to extend your product for our needs. And I know that you have recently added the Search Panel to allow us to perform a search against the dataSource. However, I would like to put that search box/button somewhere else completely on my page.

I've been able to get around this by using the code in kendo.grid.js to use my own click/keypress events to invoke the filter based on the new search options.

configureSearch takes two jQuery selector strings to hook into click/keypress events. I only want to search when the user hits ENTER instead of after each keypress. Then it executes the private search function.
configureSearch(inputSelector: string, clickSelector: string) {
    const searchFn = this.search;
    if (this.grid.options.search == null) {
        throw "search field(s) not set for grid.";
    }

    const inputElement = $(inputSelector).keypress(function (this: HTMLElement, e) {
        const keycode = (e.keyCode ? e.keyCode : e.which);
        if (keycode === 13) {
            searchFn($(this));
        }
    });
    $(clickSelector).click(e => {
        searchFn(inputElement);
    });
}
private search(inputElement: JQuery<HTMLElement>) {
    const options = this.grid.options;
    const dsOptions = this.dataSource.options as kendo.ui.GridScrollable;  // HACK: dataSource.options isn't really a GridScrollable, but it's similar
    let searchFields: string[] | any = options.search ? options.search.fields : null;
    let expression: kendo.data.DataSourceFilters = {
        filters: [],
        logic: "or"
    };
    const value = inputElement.val();
    if (!searchFields) {
        searchFields = getColumnsFields(options.columns);
    }
    // NOTE: Thankfully we don't use endless
    if (dsOptions.endless) {
        dsOptions.endless = null;
        //(this as any)._endlessPageSize = this.dataSource.options.pageSize;
    }
    if (value) {
        for (let i = 0; i < searchFields.length; i++) {
            expression.filters.push({
                field: searchFields[i],
                operator: "contains",
                value: value
            });
        }
    } else {
        expression = {};
    }
    this.dataSource.filter(expression);

    // from Telerik:
    function leafColumns(columns: kendo.ui.GridColumn[]): kendo.ui.GridColumn[] {
        /* Hiding ... go see Telerik source code */
    }
    function getColumnsFields(columns: kendo.ui.GridColumn[]): string[] {
        /* Hiding ... go see Telerik source code */
    }
}
If you could offer something similar, that'd be awfully helpful.
Completed
Last Updated: 27 Jan 2025 14:45 by ADMIN
Release 2025 Q1 (Feb)
Bug report
TimePicker filter does not show all time slots after clearing the filter since v. 2020.3.1021

Reproduction of the problem
Dojo: https://dojo.telerik.com/oseJEqay
1. Open the filter menu and select a time period to filter, Apply filter.
2. Open the filter menu again, open the drop-down you can see all items.
3. Click clear filter.
4. Open the filter menu again, click on the drop-down, you can see that the only item on that list for time picker is 12am.


### Expected/desired behavior
All time slots shall be present in the dropdown list
Completed
Last Updated: 12 Apr 2022 08:24 by ADMIN
Release 2022.R1.SP.next

There's a discrepancy between the header and rest of the rows when the selected rows are coppied and pasted in Excel.

Unplanned
Last Updated: 31 Jan 2022 16:21 by ADMIN
Provide integration between the Document Processing library and the Kendo Grid for large exports.
Unplanned
Last Updated: 03 Feb 2022 07:14 by Kevin

Bug report

When the columns.sortable.initialDirection configuration is set it is not respected

columns: [{
      field: "id",
      sortable: {
        initialDirection: "desc"
      }
    }],

Reproduction of the problem

  1. Run this dojo

Current behavior

Note the userId column is not sorted in descending order

Expected/desired behavior

Column should be sorted in descending order

Workaround

Use the dataSource sort configuration option to set the sort order - example

Environment

  • Kendo UI version: 2022.1.119
  • Browser: [all]
Declined
Last Updated: 12 Jan 2026 12:38 by ADMIN

Bug report

When custom Virtual DropDownList filter is set the value is not cleared from the DropDownList on Clear button click

Reproduction

https://dojo.telerik.com/ULIgEpis

1. Filter Ship Name column

2. Open the filter menu and hit Clear

3 Open Filter menu again

Expected/desired behavior

Value shall be cleared from the DropDownList

Environment
Kendo UI version: 2021.1.301
Browser: all

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

This started happens on 2022.1.119 and 2022.1.301, Works well on 2021.3.914

Some of ours grids stopped showing the filter icon in the columns.

After digging a bit found that the issue happens when I have a grid initialized with sortable = true and then initialize a new one with sortable = false

You can see this happening in this example:

https://dojo.telerik.com/ogUZEbUP

 

the issue seems to be caused by this:

this selector is catching all the k-cell-inner from the first grid

 

Completed
Last Updated: 09 Jun 2022 13:45 by ADMIN
Release 2022.R2.SP.next

Bug report

Grid with group paging and server operations enabled throws a JavaScript error when expanding groups. Reported in ticket 1560566.

Reproduction of the problem

  1. Run this dojo
  2. Follow the steps in this screencast to reproduce the error

Current behavior

A JavaScript error is thrown:
image

Expected/desired behavior

No error should be thrown group paging should work as expected

Environment

  • Kendo UI version: 2022.1.301
  • Browser: [all]
Completed
Last Updated: 19 Jul 2022 05:50 by ADMIN
Release 2022.R2.SP.next
Created by: Mat
Comments: 0
Category: Grid
Type: Bug Report
0

I've noticed the .k-command-cell class is being added multiple times to the Grid's command cell.

This can be seen on the Grid's Custom Command demo page, where the class is added twice.  On some of my Grid implementations, the class is added 100 times or more.

Dojo:

https://dojo.telerik.com/EweloVOD 

Inspect one of the command cells and observe the "class" attribute.

Completed
Last Updated: 13 Jan 2024 20:24 by ADMIN
Created by: Joseph
Comments: 1
Category: Grid
Type: Bug Report
0

Hi,

I've found a bug in the jQuery template code for Kendo Grids. Seems that it directly injects the name of a field from the data source results under the assumption that the field name is a valid JavaScript identifier (i.e. data.someIdenifier). But when the data source results contain a field name that is a number (as in my case), this results in invalid JavaScript (i.e. data.1234) and causes the Kendo Grid code to error. I notice that in some places in the template code, indexing is used instead of member access (data['someIdentifier'] instead of data.someIdentifier), but not everywhere. I'd recommend using indexing every where to fix this (i.e. data[1234]).

Unplanned
Last Updated: 16 May 2022 13:39 by ADMIN

Hello again Kendo Support,

I believe I have found a bug with the kendo grid when using column virtualization. When turning on selectable rows, row selection is lost upon horizontal scroll. The bug can be easily reproduced using the following sample: https://dojo.telerik.com/osUKOZol

Is there any work around or plans to fix this bug in the future? Turning on virtual columns was a performance boost for our application and we'd hate to have to turn it off. 

Completed
Last Updated: 06 Jan 2023 15:37 by ADMIN
Release R1.2023-Increment.3(18.Jan.2023)

Bug report

Shift selection is not working correctly when multi-column headers are configured in a grid and selectable: "multiple cell" is configured


Reproduction of the problem

Dojo: https://dojo.telerik.com/@shashi.kumar/IdeKUHam


Current behavior
Shif selection not working correctly


Environment
Kendo UI version: 2022.2.510
jQuery version: any. Demo 1.12.4 and our code is 3.6.0
Browser: [all]

Completed
Last Updated: 25 Jul 2023 14:29 by ADMIN
Release 2022.R2.SP2
Created by: Kevin
Comments: 0
Category: Grid
Type: Bug Report
0
I'm using the Grid feature to drag-and-drop rows to re-sort them.  I'm following the demo example where you add a "draggable" column where it shows the drag handle (which is very nice).  However, when I go to Edit the row in the Popup (editable mode is "popup", it shows the drag icon in the popup dialog.  It's not causing a problem but just looks weird.
Declined
Last Updated: 30 Jun 2022 12:51 by ADMIN

We are using the latest version (5.4.0) of the "Classic" SASS theme for Kendo UI and override several scss variables to adapt the grid's look&feel to our requirements. One thing we did was setting $grid-header-padding-x and $grid-header-padding-y to 2px each.

If the content of the grid header is long enough to be truncated, sorting indicators etc. are partially moved out of the cell.

Since I cannot modify scss variables in DOJOs, I have tried to apply CSS styles to simulate the behavior: https://dojo.telerik.com/EMOYUREh.

As you can see, the th element applies some padding that .k-cell-inner removes again. On the right side, however, the negative margin is bigger than the padding added by the th element which causes the content to move out of the cell.

 
Unplanned
Last Updated: 08 Jul 2022 13:57 by ADMIN
Created by: Brandon
Comments: 5
Category: Grid
Type: Feature Request
0

Hi Team,

I'd like to request a built-in event before the Grid starts a Read action.  

Thank you!

Completed
Last Updated: 12 Dec 2023 14:00 by ADMIN

Bug report

columns.field.filterable.cell.inputWidth does not apply since R1 2022

Reproduction of the problem

Dojo: https://dojo.telerik.com/oVILIzaW

Current behavior
Width of autocomplete input is not affected

Expected/desired behavior
Width shall be reflected

Workaround

  <style>
     span[data-field="name"] > span {
      display: inline
    }
  </style>

Environment
Kendo UI version: 2022.2.621
Browser: [all]

Declined
Last Updated: 11 Jul 2022 14:49 by ADMIN

we discovered that if you have navagatable set to true and you perform a deletion using the inline delete button, the grid scrolls back to the top. setting navagatable to false prevents the scrolling from occuring.

 

this was using KendoGrid with JQuery.

Completed
Last Updated: 05 Oct 2022 15:11 by ADMIN

Hello,

Just upgraded to 2022.2.802 Kendo UI for jQuery and noticed that when clicking on a row in a grid it correctly highlights it (e.g. dark blue), but doesn't maintain the selection when moving the mouse from the row. This appears to be a breaking change - at least for our code. Previously it would still be selected/highlighted when moving the mouse away from the row.

Cheers,
Nick

Original posted on the forum. Looks like someone else has this issue as well.

https://www.telerik.com/forums/grid-does-not-maintain-row-selection-visually-highlighted

Unplanned
Last Updated: 12 Aug 2022 08:01 by Henk

When exporting all the lines in the grid with saveAsExcel the excel is formatted in the event handler when the ExcelExport event is fired.

I would like to have the exact same effect when calling the exportSelectedToExcel method.

Completed
Last Updated: 08 Nov 2022 08:25 by ADMIN
Created by: eDAD
Comments: 3
Category: Grid
Type: Bug Report
0

Incorrect role as link is defined for header controls of 'Branches' table.

Repro-Steps:

1. Open given URL DiskSnapshotDiff Graph in Edge Dev.
2. Enable Narrator using 'Ctrl+ Win + Enter' key.
3. Navigate to header controls present on the 'Branches' table using Tab key.
4. Verify that incorrect role as link is defined for header controls of 'Branches' table or not.
Actual Result:
Incorrect role as link is defined for header controls of 'Branches' table.

It is functioning as a button. On activating the header control filter is activating.

Expected Result:
Correct role as 'Button' is defined for header controls of 'Branches' table.

User Impact:
Screen reader user will be impacted if incorrect role is defined. It will confuse screen reader user for its functionality.