Completed
Last Updated: 13 May 2024 12:58 by ADMIN
Release 2024 Q2 (May)
Ingo
Created on: 06 Feb 2023 12:59
Category: Grid
Type: Bug Report
2
Selecting a row from the skletonloader causes an error

Hello,

 

we have the following problem:

In the dojo https://dojo.telerik.com/uJUGEQuh clicking on a row from the skleton loader in the grid causes an error. It seems like you want to access the "id" field from the datasrouce model which doesn't exist in the loading animation.

model:
{
	id: "Id",
	fields: 
	{
		ProductName: { type: "string" },
		Id: { type: "number" }
	}
}

 

If you rename the "id" field to for exmaple "XXXX" the error message changes

from:

Uncaught TypeError: Cannot read properties of undefined (reading 'Id')

to:

Uncaught TypeError: Cannot read properties of undefined (reading 'XXXX')

 

We attached a gif of the problem and the code snipped of the dojo. The browser is Chrome Version 109.0.5414.120 (Official Build) (64-Bit)

 

Greetings

Ingo E.

Attached Files:
1 comment
ADMIN
Nikolay
Posted on: 13 Feb 2023 12:11

Hi Ingo,

Thank you very much for reporting this undesired behavior with the SkeletonContainer integrated into the Grid.

By design, selection within the SkeletonContainer rows shall not be possible and no error shaw be thrown. Thus, I have logged this and you can track this issue's progress at the below link:

As a current workout, I can suggest declaring the Grid with jQuery instead of MVVM. Selection does not throw an error in jQuery declared Grid.

https://dojo.telerik.com/oNESESEf

As a token of gratitude for reporting this, I have added some Telerik points to your account.

Regards,


Nikolay
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.