New to KendoReactStart a free 30-day trial

getter

Function

Definition

Package:@progress/kendo-react-common

Syntax:

jsx
const values = {users:[{lastName: 'Doe'}]};
const firstUserLastName = getter('user[0].lastName');

console.log(firstUserLastName(values))

// result: 'Doe'

Can be used for getting value from object using field path. For example users[index].name.

Parameters:fieldstringReturns:

(values: any) => any

In this article
Definition
Not finding the help you need?
Contact Support