Display foreign key values in treegrid in JavaScript Treegrid control

18 Nov 20181 minute to read

Since Tree Grid Databinding concept is of hierarchy relationship, we do not provide in-built support for foreignKey datasource.

To display the foreignKey value at initial rendering, we can use the queryCellInfo event of the Tree Grid and also by using the editType and columns.edit properties of Tree Grid Column, we can render Dropdownlist with external or foreign dataSource.

You can refer to our JavaScript Tree Grid feature tour page for its groundbreaking feature representations. You can also explore our JavaScript Tree Grid example JavaScript Tree Grid example to knows how to present and manipulate data.