Approved
Last Updated: 03 Jan 2020 12:46 by ADMIN
Created by: Randy
Comments: 0
Category: TreeList
Type: Bug Report
1

Bug report

If the read() method of the data source of the TreeList widget is called, the pager is not refreshed. It retains the only pages and information.

Reproduction of the problem

1. Update the data source of the TreeList widget.

2. Notice that the pager is not completely refreshed.

A Dojo sample for reproduction:

https://dojo.telerik.com/aHIPUgIz

Expected/desired behavior

Refresh the pager whenever the data source of the TreeList is refreshed.

Environment

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

Approved
Last Updated: 27 Dec 2019 13:52 by ADMIN

Bug report

DOJO

Reproduction of the problem

  1. Open the dojo
  2. Enter in Edit mode via the Edit button
  3. Navigate to the Update button via keyboard

Current behavior

Detail Template is toggled on Enter.

Expected/desired behavior

When the target is any of the Command Buttons, the Grid should hide/show the detail view.

Environment

  • Kendo UI version: 2019.1.220
  • Browser: all
Approved
Last Updated: 27 Dec 2019 13:50 by ADMIN

When there is not enough space for the filter menu to be opened downwards, it should be opened on top. However, the first time it is opened, it is positioned below the filter button. 

Experienced behavior: 

Filter menu is mispositioned when first opened. With consequent openings, the menu is positioned as expected.

Expected behavior: 

The calculation for the positioning should be done even with the first initialization.

A sample Dojo for the reproduction of the issue:

https://dojo.telerik.com/iRaDakEs

First initialization:

https://www.screencast.com/t/vmnVGhDBobi

Second opening:

https://www.screencast.com/t/S6Qzza6ve4UO


Completed
Last Updated: 27 Dec 2019 13:46 by ADMIN
Whether you try to resize a "grouping column" (a column without an associated field) or a "data column" (the lowest level column - one with a data-index), resizeColumn does not work. The grid gets messed up. Sometimes the wrong column gets resized, sometimes columns just disappear. 
Completed
Last Updated: 27 Dec 2019 13:38 by ADMIN

After the kendoGrid is created, the headerAttributes field (of every column) has a id value (generated by Kendo) of some random GUID - but this GUID is nowhere to be found in the entire HTML.

So, there is no way to link a Kendo column object to an HTML (th) element.

 

Completed
Last Updated: 27 Dec 2019 13:37 by ADMIN
Created by: JEAN CHARLES
Comments: 3
Category: Grid
Type: Bug Report
1

When clicking on CheckBox to select a line, the widget check other checkbox (on other column of the same line) inserted from column template.

I suppose that the selector that the system use is too large.

 

For information, i created a template for boolean column based on how kendo generate checkbox structure (just de be coherent)

 

See the code extracted from https://dojo.telerik.com/EqiPIkiV

 

 var checkBoxtemplate = function(boolValue){
   	var checkedStr = '';
    if (boolValue) {
    	checkedStr = 'checked="checked"';
    }

        
    return '<input class="k-checkbox" data-role="checkbox" ' + checkedStr + ' type="checkbox"><label class="k-checkbox-label k-no-text smi-checkbox-fordisplay"></label>';
 };
  
$("#grid").kendoGrid({
  columns: [
    {
      selectable: true, 
      width: '30px'
    },
    { field: "name" },
    { field: "age" },
    { field: "administator", 
      template: function (dataItem) { 
        return checkBoxtemplate(dataItem.administator); 
      }  
    }
  ],
  dataSource: [
    { name: "Jane Doe", age: 30, administator: false },
    { name: "John Doe", age: 33, administator: false },
    { name: "BigBoss Doe", age: 70, administator: true }
  ],
  selectable: true
});

Declined
Last Updated: 27 Dec 2019 13:31 by ADMIN
  1. Create a grid with two editable columns.
  2. Define validation rules for both columns. Keep one column as required.
  3. Edit the row. Set the required column value using model.set method.'

It fails because before setting the value it performs validation. If validation was successful then it will set the value on model.

Since the desired field has no value and validation rule will fail on that.

 

It should accept the value and then perform validation. If validation fails with new value then it might discard the changes.

 


$("#grid").kendoGrid({ dataSource: { batch: true, transport: { read: function(e){ e.success([1,2,3,4,5,6,7,8,9].map(function(i){return {id: i, title: "test" + i}})); } }, schema: { model: { id: "id", fields: { id: {defaultValue: "-1"}, title: { validation: { required: true } } } } } }, columns: [ {field: "title", title: "Title", filterable: {field: "title.a"}}, {command: ["edit", {name: "destroy"}]} ], editable: {mode: "inline"}, filterable: true, toolbar: [{name: "create"}] });

 

var grid = $("#grid").getKendoGrid();
var model = grid.dataItems()[0];
grid.editRow(model);
model.set('title', '');
model.set('title', 'test 1111'); // it will fail


 

Pending Review
Last Updated: 26 Dec 2019 06:40 by ADMIN
Hi,

I'm using kendo context menu on a grid that's selectable, & contains links in its row items.

I need to show the custom context menu on selected rows only, without losing the browser's default context menu on the other rows, e.g. to allow opening the link in a new page.

I added a context menu & set the target & filter as follows:

$("#context-menu").kendoContextMenu({
        target: "#grid",
        filter: "tr.k-state-selected[role='row']",
        select: function(e) {
          var grid = $("#grid").data("kendoGrid");
          var model = grid.dataItem(e.target);
          alert( model.age + " " + model.name);
        }
      });

This works fine on desktop browsers (I tried Chrome & Firefox). However, I have a problem on touch devices: the browser's default context menu is never shown for non-selected rows (you can reproduce it using the browser's Emulator) .

Here's a working dojo :

http://dojo.telerik.com/oyASaDiN

You will notice that I'm using version 2017.3.1026 in this dojo (which is the version currently used by my company), but even if we consider an upgrade, the problem is also reproducible on the latest version (2019.3.1023). 



Please advise,
Approved
Last Updated: 25 Dec 2019 06:16 by Naveen
Created by: Naveen
Comments: 0
Category: Spreadsheet
Type: Bug Report
7

Bug report

Office 365 Comment are shown with a warning:
"[Threaded comment]

Your version of Excel allows you to read this threaded comment; however, any edits to it will get removed if the file is opened in a newer version of Excel. Learn more: https://go.microsoft.com/fwlink/?linkid=870924

Reproduction of the problem

go to demo - https://demos.telerik.com/kendo-ui/spreadsheet/index

Current behavior

import a file from ticket - 1447268

A warning is displayed

Expected/desired behavior

No warning is displayed

Environment

  • **Kendo UI version: 2019.3.1023
Approved
Last Updated: 23 Dec 2019 08:54 by ADMIN

Bug report

TreeList shows wrong total and paging when we expand or collapse a row after filtering.

Reproduction of the problem

1. Go to TreeList demo link - https://demos.telerik.com/kendo-ui/treelist/index
2. On "Position" column apply filter with value "VP, Engineering"

3. After filtering only 4 rows will be visible, and the number of rows at the bottom of grid shows "1 - 4 of 4 items".
4. Now collapse the second row. Notice that the total at the grid bottom changes to "1 - 15 of 4 items" which is wrong.


Expected/desired behavior

The shown message within the pager has to be "1 - 4 of 4 items" instead of "1 - 15 of 4 items".

Environment

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

Approved
Last Updated: 23 Dec 2019 07:18 by ADMIN

Hi 

In the TreeList control when I Freeze first column and apply multi column header in some other column, then setting the filterable property for a column after multi column header is applied to some other column instead of the column on which it is set.

 

You can find a working sample here.

In this example note that I have set the filterable property false for field "Phone" but its effect is applied on "Position" field and its filters are hidden. Similarly if you apply filterable: false on "Extention" field then the filter on "Address" field will be gone.

 

Kindly provide a solution for this problem, also let me know if a work around exists for this issue.

Pending Review
Last Updated: 23 Dec 2019 07:18 by Mearaj

### Bug report

Treelist column's filterable property is applied to the wrong field when column locking and a multi-column header is applied.

Reported in: 1446991

### Reproduction of the problem

https://dojo.telerik.com/@Mearaj_6303/EDuhUlOG

### Current behavior

The Filter from "Position" is hidden.

### Expected/desired behavior

The Filter from "Phone" is hidden.

### Environment

* **Kendo UI version:** 2019.3.1023
* **Browser:** [all] 

Declined
Last Updated: 20 Dec 2019 12:13 by ADMIN
When I resize the window I get so now and then the above issue. Please add a check whether "window" is undefined or not.

It is at line number 70738 in de kendo.all.js of version 2018.2.620
Won't Fix
Last Updated: 20 Dec 2019 11:56 by ADMIN
Created by: Dmitry
Comments: 1
Category: Editor
Type: Bug Report
1

Bug report

Copied text is pasted with some (editor's ?) styles.

Steps to reproduce

1. Open the Demo page in the Edge browser:

https://demos.telerik.com/kendo-ui/editor/index

2. Copy some words (e.g. "Kendo UI Editor") from the editor's default text.

3. Paste them at the end of the text.

4. Open developer tools (F12).

5. On the Elements tab, select the pasted paragraph and check its style, you will see <span style="display: inline !important; etc.

 

 

Approved
Last Updated: 20 Dec 2019 07:35 by ADMIN
Created by: utveckling
Comments: 3
Category: Grid
Type: Bug Report
0

Hi,

When using a sass themes , like default-v2 and programmatically execute a set on datasource the dirty-field seems to not have enough time to mark the cell that is changed.

dojo: https://dojo.telerik.com/@utveckling@promosoft.nu/OjebanAX

Original State:

State after cell change:

Approved
Last Updated: 19 Dec 2019 13:44 by Account Manager
Created by: Account Manager
Comments: 0
Category: Spreadsheet
Type: Bug Report
0

Bug report

There is no TypeScript definition for defineFunction and no custom functions can be created in TypeScript context using the approach demonstrated in this Custom functions article.

Reproduction of the problem

Try defining a new function using:
kendo.spreadsheet.defineFunction("Mask",mask).args(maskArgs)

Current behavior

The following error appears:

Propery "defineFunction" does not exist on type 'typeof spreadsheet'

Expected/desired behavior

There shouldn't be any errors

Environment

  • Kendo UI version: 2019.3.1023
  • jQuery version: x.y
  • Browser: [all]
Declined
Last Updated: 18 Dec 2019 16:01 by ADMIN
I try to use new search panel with server side pagination, but it do not work properly.
Declined
Last Updated: 18 Dec 2019 15:59 by ADMIN
Created by: Peter
Comments: 1
Category: Grid
Type: Bug Report
0
  • Create e.g. local data grid (id, name)
  • add 2 records => { id: 1, name: "null", id: 2, name: "Jack" }
  • Name column for id = 1 is empty

I have tested this on your example for local data grid. It can be applicable also for remote grid, treelist, etc.

 

Declined
Last Updated: 18 Dec 2019 15:56 by ADMIN
Created by: Jay
Comments: 2
Category: Grid
Type: Bug Report
2
While the grid pager is enabled, if set a new datasource of this grid via javascript ( grid.setDataSource(new kendo.data.DataSource(obj)) ), multiple pager numbers wrapper wil be created. And this makes pager layout wrong.
Approved
Last Updated: 18 Dec 2019 15:55 by ADMIN

If you configure a Kendo Grid with client-side paging, each time you call setDataSource to update the data source then a new .k-pager-numbers-wrap DIV is added to the page controls. I've replicated the problem in Dojo at https://dojo.telerik.com/UTolOzer by taking a basic client-side paging demo, moving the dataSource configuration into a separate function (with data("kendoGrid").setDataSource), and calling that function 25 times. At the end, the source shows the UL element with the page buttons inside 25 .k-pager-numbers-wrap DIV elements.

I first noticed this problem because in my own environment, each nested DIV was shifting the page buttons left 1 pixel and overlapping the "previous page" buttons. In my Dojo example, with 25 nested DIVs the page buttons disappear completely.

I've added the following in my own code as a workaround in the dataBound event of the grid:

                            var trueParent = e.sender.pager.element.find(".k-pager-numbers-wrap").first();
                            e.sender.pager.element.find("ul").appendTo(trueParent);
                            trueParent.find(".k-pager-numbers-wrap").remove();