10.23 ID Attribute

Description: This attribute is used to specify the column name that contains the unique key from the data source of the list/table. A Unique key i.e. a column is used to identify an item of list/table uniquely.

Component to accept the input: Input text



Example: User has a data source deptArray, which has the following data.

Var deptArray= [
{DepartmentId: 10, DepartmentName: 'Administration', LocationId: 200},
{DepartmentId: 20, DepartmentName: 'Marketing', LocationId: 200},
{DepartmentId: 30, DepartmentName: 'Purchasing', LocationId: 200}];

Usage: In this example, the column, which is a unique key, is “DepartmentId”. Because value of every “DepartmentId” is unique.

Enter this column name in an input box as shown in the image below.