-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Labels
BugC: GridFP: CompletedSync status with associated Feedback ItemSync status with associated Feedback ItemRegressionBroken functionality which was working previouslyBroken functionality which was working previouslySEV: MediumjQuery
Milestone
Description
Bug report
When adding a new item to the Grid, and iterating in the items returned by the items() method, the last element is undefined
Reproduction of the problem
- Open the Dojo - https://dojo.telerik.com/RtoGQaHa
- Click, the 'Add Product' button and observe the console.
Current behavior
The last logged item is undefined.
Expected/desired behavior
There should be no undefined items.
The issue is a regression starting with 2024.1.319 version.
Workaround
itemElements.each((_, $tr) => {
const record = e.sender.dataItem($tr);
if (!record) {
alert('warning: record not found for table row')
}
else {
// custom logic
}
});
Dojo - https://dojo.telerik.com/JpsklRDC
Environment
- Kendo UI version: 2024.3.1015
- Browser: [all ]
Metadata
Metadata
Assignees
Labels
BugC: GridFP: CompletedSync status with associated Feedback ItemSync status with associated Feedback ItemRegressionBroken functionality which was working previouslyBroken functionality which was working previouslySEV: MediumjQuery