Intersoft Support Center

Display Self-Referencing Hierarchical Data

WebGrid is capable to bind Self-Reference with hierarchical data.

In this topic, you will learn how to display Self-Referencing Hierarchical data.

To display Self-Referencing Hierarchical data

  1. Bind WebGrid to Hierarchical ISDataSource. (Bind Employees, Orders, and Orders Details table)
  2. Open WebGrid Designer and go to Advanced tab.
  3. Select RootTable and Scroll down to Self Referencing section.
  4. Select Enable Self Referencing. Set Child Data Member to ReportsTo, Parent Data Member to EmployeeID and Expand Column Member to FirstName.
  5. Run the project.
Previous Next