-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Labels
EnhancementItem which represents a new feature or an improvementItem which represents a new feature or an improvementFP: UnplannedKendo UI for Vue
Description
I would like to request a feature that enables TypeScript type inference for the dataItems prop in the Kendo Grid component. Currently, the prop is typed as:
dataItems: PropType<any[] | DataResult>;
This typing loses all the benefits of TypeScript’s strong typing and autocomplete. In real-world scenarios, we almost always know the type of the data being passed to the grid, and having to cast or work with any defeats the purpose of using TypeScript.
Proposed Enhancement:
Introduce generics to the Kendo Grid component to allow the type of dataItems to be inferred based on the generic type passed to the Grid.
zdravkov
Metadata
Metadata
Assignees
Labels
EnhancementItem which represents a new feature or an improvementItem which represents a new feature or an improvementFP: UnplannedKendo UI for Vue