In this example is demonstrated how to setup a lookup column. The second column in this example is data bound to an external data source by using the Grid's "dataSourceSettings.relations" property. In the column configuration, the "editor", "relationId" and "relationField" properties are set specifying the "id" of the relation in the "relations" array and the "dataField" in the "relation".
Order Name
Sales Person
Price
Quantity
Attachments
Time of Purchase
Status
No Rows
Loading...