Category / Section
How can I display Hierarchical Data in the Grid?
1 min read
Essential Grid can display any ADO.NET dataset without further configuration. Set up the dataset with its relations and initialize the grid with the dataset. The grid will automatically extract all column and relation information from the dataset and display its records and relations.
This feature is demonstrated in the Hierarchy sample.
If you are not using a dataset, or if you are initializing the grid in code, you can add the different lists (IListSource implementation) to the gridControl.Engine.SourceListSet and set up their relationships through the TableDescriptor.Relations property.