Declined
Last Updated: 31 Mar 2025 14:40 by ADMIN
Craigory
Created on: 24 Mar 2021 21:21
Category: Grid
Type: Feature Request
2
CellCloseEvent should be generic for dataItem

Proposal

CellCloseEvent<T> should provide dataItem: T

 

Why

Currently the CellCloseEvent dataItem is typed as any. This could be the default, but adding a generic type here would allow strong typing in the event handler.

3 comments
ADMIN
Zornitsa
Posted on: 31 Mar 2025 14:40

Hi Everyone,

We are declining this request due to low interest and demand. If it turns out to be popular in the future, we will reconsider its status.

Regards,
Zornitsa
Progress Telerik

Enjoyed our products? Share your experience on G2 and receive a $25 Amazon gift card for a limited time!

Craigory
Posted on: 30 Mar 2021 15:07

Anyone wanting this functionality currently can add a file in their project like this:

 

import {CellCloseEvent as KendoCellCloseEventfrom '@progress/kendo-angular-grid';

import {CellClickEventasKendoCellClickEventfrom'@progress/kendo-angular-grid';


export type CellCloseEvent<T> = Omit<KendoCellCloseEvent'dataItem'> & {dataItemT}
export type CellClickEvent<T> = Omit<KendoCellClickEvent'dataItem'> & {dataItemT}
ADMIN
Martin Bechev
Posted on: 29 Mar 2021 15:15

Hi Craigory,

Thank you for the provided feedback.

I have converted this ticket to be a public feature request:

https://feedback.telerik.com/kendo-angular-ui/1512628-cellcloseevent-should-be-generic-for-dataitem

That will help us to track the demand for it and eventually release it in a future version of the package. Thank you in advance.

Regards,
Martin
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/.