Unplanned
Last Updated: 24 Jul 2023 09:12 by Cathy

Bug report

When tabbing through the row filter inputs of a virtual Grid only headers are scrolling

 

Reproduction of the problem

Run this Dojo - https://dojo.telerik.com/IjuJoRAx/5


Expected/desired behavior

Headers and columns shall scroll when tabbing through the row filter inputs

Environment
Kendo UI version: [all]
jQuery version:[all]
Browser: [all ]

Completed
Last Updated: 06 Jul 2023 14:46 by ADMIN
Release R3.2023-Increment.1(19.July.2023)
Hi Guys

Testing the latest v2023.2.606 release I have hit a regression regarding filtering.

To demonstrate open the 'jQuery Grid Frozen Columns' demo

On the 'Order Id' column
    - Open the filter menu
    - Set the value to 10248
    - Hit the Filter button

The grid will be filtered but the Column & Filter menus remain open and the following JavaScript errors are generated

Firefox
    Uncaught TypeError: this.popup is undefined
        _closeForm https://kendo.cdn.telerik.com/2023.2.606/js/kendo.all.min.js:10
        _reset https://kendo.cdn.telerik.com/2023.2.606/js/kendo.all.min.js:10
        jQuery 2
            dispatch
            handle

Chrome
    Uncaught TypeError: Cannot read properties of undefined (reading 'close')
        at init._closeForm (kendo.all.js:325519:2)
        at init._submit (kendo.all.js:325519:2)
        at HTMLFormElement.dispatch (jquery.min.js:3:12445)
        at r.handle (jquery.min.js:3:9174)

Note: Not all of your demos exhibit the issue (but 100% of my grids do) so they must be something special regarding the options enable for particular grids.

Hopefully you can find and fix this bug quickly because upgrading to v2023.2.606 is not a viable option here.

Regards
Alan
Unplanned
Last Updated: 30 Jun 2023 19:10 by Kiet
Created by: Kiet
Comments: 0
Category: Grid
Type: Feature Request
1

Hi Team,

I would like to request the ability to change the filter of a Kendo UI Grid column when the user chooses a new operator.  Please take a look at this forum post for reference.

Thank you!

Unplanned
Last Updated: 14 Jun 2023 06:55 by ADMIN
Created by: Alex
Comments: 0
Category: Grid
Type: Feature Request
0

Hi

again this request is not urgent as I implemented this myself.
I'd like to have 'nextRecord' 'previousRecord' functionality in the grid widget.

We have a next/previous record button on our forms and as floating buttons to navigate the records.
As soon as we navigate to the next/previous record, the form loads the data of the concerning record.

My current implementation is as follows:


/**
 *
 * Grid with navigation code included 
 * 
 * selectRowByIndex: 0 based row selection by index of currently shown rows
 *
 * @author Alex Bernhard <alex.bernhard@uzh.ch>
 * @version 1.2.0
 */


(function ($) {

    var kendo = window.kendo,
        ui = kendo.ui,
        Grid = ui.Grid,
        self = this;

    var NavigatableGrid = Grid.extend({
        init: function (element, options) {

            // assign that to this
            var self = this;
            this.selectedIndex = 0;
            this.updateAfterLoad = false;

            // call the base function to create the widget
            Grid.fn.init.call(this, element, options);

            if (typeof options['updateMethod'] == 'function') {
                this.updateMethod = options['updateMethod'];
            }

            self.bindEvents();

        },
        options: {
            name: "NavigatableGrid",
        },
        bindEvents: function () {
            this.bind("change", function () { this.setSelectedIndex(); });
            this.bind("dataBound", function () {
                this.selectRowByIndex(this.selectedIndex);
                // after selecting the next row, shall update be called here?
                // happens only when navigating to a new page
                // or after search results are present
                if (this.updateAfterLoad) {
                    this.updateAfterLoad = false;
                    let selectedItem = this.dataItem(this.select());
                    if(selectedItem != null && selectedItem.hasOwnProperty('id')){
                        this.updateMethod(selectedItem.id);
                    }
                }              

                return false;
            });
        },
        updateMethod: function () { },        
        setSelectedIndex: function () {
            let dataRows = this.items();
            this.selectedIndex = dataRows.index(this.select());
            return this.selectedIndex;
        },
        selectRowByIndex: function (index) {
            // zero based index
            this.clearSelection();
            this.select('tr:eq(' + index + ')');
        },
        selectRowById: function (id) {
            this.clearSelection();
            let view = this.dataSource.view();
            let _self = this;
            let rows = $.grep(view, function (item) {
                return item.id == id;
            }).map(function (item) {
                return _self.tbody.find("[data-uid=" + item.uid + "]");
            });

            if (Array.isArray(rows) && typeof rows[0] !== 'undefined') {
                this.select(rows[0]);
            }
        },
        previousRow: function () {

            // get current number of rows
            let pageSize = this.dataSource.pageSize();
            let currentPage = this.dataSource.page();

            // already first row of current page ?
            if (this.selectedIndex == 0) {
                let previousPage = currentPage - 1;
                // not the first page yet - load the previous page and read the data
                // after load
                if (previousPage > 0) {
                    this.selectedIndex = pageSize - 1; // last row of previous page
                    this.updateAfterLoad = true;
                    this.dataSource.page(previousPage);
                }
            } else {
                // set next row index (0 based !!)
                this.selectedIndex = Math.max(this.selectedIndex - 1, 0);
                this.selectRowByIndex(this.selectedIndex);
                this.updateAfterLoad = false;

                let selectedItem = this.dataItem(this.select());   
                if(selectedItem != null && selectedItem.hasOwnProperty('id')){
                    this.updateMethod(selectedItem.id);
                }
            }
        },
        nextRow: function () {

            // get current number of rows
            let numRows = this.items().length;
            let pageSize = this.dataSource.pageSize();
            let numPages = this.dataSource.totalPages();
            let currentPage = this.dataSource.page();

            // already last row of current page ?
            if (this.selectedIndex == numRows -1) {
                let nextPage = currentPage + 1;
                // not the last page yet - load the next page and read the data
                // after load
                if (nextPage <= numPages) {
                    this.dataSource.page(nextPage);
                    this.selectedIndex = 0;
                    this.updateAfterLoad = true;
                }
            } else {
                // set next row index (zero based !!)
                this.selectedIndex = Math.min(this.selectedIndex + 1, pageSize-1);
                this.selectRowByIndex(this.selectedIndex);
                
                let selectedItem = this.dataItem(this.select());   
                if(selectedItem != null && selectedItem.hasOwnProperty('id')){
                    this.updateMethod(selectedItem.id);
                }
            }
        }
    });
    kendo.ui.plugin(NavigatableGrid);
})(jQuery);

And an example usage is like:


accessionGrid = $("#accession-grid").kendoNavigatableGrid({
.... standard code for kendo grid
// call method in form when navigating
 updateMethod: function(data){accessionForm.update(data)},
.....
});

// code for grid navigation
function nextAccessionGridRow(){
    accessionGrid.nextRow();
}

function previousAccessionGridRow(){
    accessionGrid.previousRow();
}

Completed
Last Updated: 12 Jun 2023 15:32 by ADMIN
Created by: Support
Comments: 1
Category: Grid
Type: Feature Request
0

Allow using kendo templates in columns.attributes for example

<div id="grid"></div>
<script>
$("#grid").kendoGrid({
  columns: [ {
    field: "name",
    title: "Name",
    attributes: {
      "data-id": "#:data.id#",
      "data-clientid": "#:data.clientId#",
    }
  } ],
  dataSource: [ { id:1, name: "Jane Doe", clientId:"#223" }, { id:2, name: "John Doe", clientId:"#354"  }]
});
</script>

Unplanned
Last Updated: 07 Jun 2023 20:00 by Mark
Created by: Mark
Comments: 0
Category: Grid
Type: Feature Request
1

Hi Team,

I would like to request a way to add a button into the Kendo UI Grid's pager using the built-in API.  Maybe adding a Pager Template might help.

Thank you!

Completed
Last Updated: 29 May 2023 16:15 by ADMIN

Bug report

The popup of the filter does not contains all items after selecting the timepicker.

Reproduction of the problem

  1. Open the Filter Demo
  2. Open the filter popup for the Birth Date.
  3. Click on the 'clock' icon to display time.

Current behavior

The filter popup is closed. After the filter is opened again it displays only times. The filter popup should be closed and opened again to be rendered as expected.

Expected/desired behavior

After selecting the TimePicker the filter popup should not close, should display times.

The issue is a regression starting with 2023 R1 SP1 (2023.1.314)

Environment

  • Kendo UI version: 2023.1.314
  • Browser: [all ]
Unplanned
Last Updated: 26 May 2023 19:19 by Mark
Created by: Mark
Comments: 1
Category: Grid
Type: Feature Request
2

Hi Team, 

I would like to request a better way to be able to refresh the filters when the Kendo UI Grid refreshes.  I will elaborate more in an additional comment.

Thanks!

Completed
Last Updated: 03 May 2023 09:15 by ADMIN
Release R2.2023-Increment.3(7.June.2023)

Bug report

When setting column attribute that contains "_" in the Grid, an error is thrown.

Reproduction of the problem

  1. Open this Dojo example - https://dojo.telerik.com/uPuDeTUk/4
  2. Open the browser console

Current behavior

An error is thrown due to the 'cause_error' attribute for the classification column

Expected/desired behavior

No errors should be thrown

Environment

  • Kendo UI version: 2023.1.314
  • Browser: [all]
Unplanned
Last Updated: 24 Apr 2023 19:51 by Vinicius
Created by: Vinicius
Comments: 0
Category: Grid
Type: Feature Request
1

Hi Team,

I would like to ask to add the Kendo UI Toolbar's overflow functionality to the built-in Kendo UI Grid's buttons. 

Thank you!

Unplanned
Last Updated: 11 Apr 2023 07:32 by ADMIN
Scheduled for 2023.2

Describe the bug

Text overlaps on selected non-altering rows upon scrolling in Grid with sticky columns with version 2023.1.314

To reproduce

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

Select a non-altering row

Scroll to the right

Affected package (please remove the unneeded items)

theme-default
theme-bootstrap
theme-material
theme-tasks
Affected suites (please remove the unneeded items)

Kendo UI for jQuery
Telerik UI for MVC
Telerik UI for Core
Affected browsers (please remove the unneeded items)

All
Build system information (please remove the unneeded items)

Not Applicable

Declined
Last Updated: 31 Mar 2023 12:02 by ADMIN
Created by: Slawomir Piotrowski
Comments: 3
Category: Grid
Type: Feature Request
21
It would be great to have support for all wildcards while filtering.
Unplanned
Last Updated: 24 Mar 2023 10:33 by ADMIN
Created by: Mark
Comments: 2
Category: Grid
Type: Feature Request
1

Hi Team,

I would like to request the functionality to export from the server easily and to be able to chunk/unchunk data.  I will elaborate further.

Thanks!

Unplanned
Last Updated: 23 Mar 2023 17:04 by Pravat Kumar

Bug report

Navigatable Grid with hierarchy moves focus to the top parent row On click of horizontal scroll bar in child grid

Reproduction of the problem
Open the Dojo: https://dojo.telerik.com/OJAYoCak

 - Expand the first parent row or second parent row to render the child records.

 - Navigate the child rows downwards using vertical scroll and click the Horizontal scroll area of the inner grid (Red Rounded area).

 - Control Focus immediately shifts to the top row and the user can’t use horizontal scroll to view the columns in the child grid.

Also, if the user initially clicks on any cell in the School Name column focus is moved.


Environment
Kendo UI version: [all]
Browser: [all]

Unplanned
Last Updated: 13 Mar 2023 17:08 by Avinash
Created by: Avinash
Comments: 0
Category: Grid
Type: Feature Request
1

Hi Team,

I would like to ask for the functionality to highlight text in a cell as the user searches text for the Kendo UI Grid. 

Thank you!

Unplanned
Last Updated: 09 Mar 2023 13:49 by Maximilian

Bug report

Setting the columns.selectable to true does not override the selectable.mode when set to "single".

Reproduction of the problem

  1. Run this dojo
  2. Click on the header checkbox.

Current behavior

Only the checkbox in the first row is checked.

Expected/desired behavior

All the checkboxes on the page are checked

Environment

  • Kendo UI version: 2023.1.117
  • jQuery version: x.y
  • Browser: [all]
Unplanned
Last Updated: 02 Mar 2023 19:18 by Haritian
Created by: Haritian
Comments: 0
Category: Grid
Type: Feature Request
1

Hi Team,

I would like to request a way to configure the Kendo UI Grid to allow dragToSelect selection with batch editing functionality.  

Thank you!

Unplanned
Last Updated: 16 Feb 2023 14:11 by Mark
Created by: Mark
Comments: 0
Category: Grid
Type: Feature Request
1

Hi Team,

I would like to request a way to manipulate the autoFitColumns method to account for the header width as well.  This was the column won't shrink less than the column header text width.  Also, it would be nice for the sort icon's width to be included. 

Thank you!

Unplanned
Last Updated: 16 Feb 2023 10:46 by Peter
Created by: Peter
Comments: 0
Category: Grid
Type: Feature Request
1

I would like to implement a drag & copy support in the Grid. 

Users would drag a cell by the lower right corner over several other cells and the value in the cell would be copied to all the cells that the user dragged the mouse over. 

Same as the way it works in Excel.

Completed
Last Updated: 16 Feb 2023 09:59 by ADMIN
Created by: Michael D
Comments: 3
Category: Grid
Type: Bug Report
0

This article describes how to disable the resizing functionality for specific columns in a grid while all other columns stay resizable. This works fine, as long as the grid is not sortable: After the user tries to resize a non-resizable column for the first time, the cursor is set to "col-resize" every time a column's header is hovered, even outside the resize area and without trying to resize it. This DOJO demonstrates the described behavior.

We have found out that the DOM of grid column headers looks differently when the grid is sortable. Also, the style that sets the cursor is set on a different element and therefore no longer removed by the workaround proposed in the mentioned article.

This DOJO contains an adapted version of the workaround that fixes the issue.