Intersoft WebGrid Documentation
Hierarchical Self Reference
See Also Send comments on this topic.
Intersoft WebGrid > Learning More > Working with Self Referencing Table > Hierarchical Self Reference

Glossary Item Box

As SelfReference is not a true hierarchical mode, therefore it shouldn't sacrifice the original Hierarchical mode being enjoyed by most developers.

SelfReference is actually another way to group and order the rows. It gives us additional information which ChildRows should be attached to which parent. Since SelfReference is a flat-table view (share same structure), it isn't a true hierarchical mode which drills down data from other tables. SelfReferencing can be enabled along with the "True" Hierarchical mode without any problem.

Hier

After expanding the row on above snapshot, the grid will look like below snapshot. The expanded hierarchical grid is now mixed with the expanded SelfReference table.

Hier

Since SelfReference is a flat-table view (share same structure), it isn't a true hierarchical mode which drills down data from other tables. In WebGrid SelfReferencing can be enabled along with the "True" Hierarchical mode without any problem. The grid hierarchical needs to be bound by using ISDatasource control. 

See Also

©2012 Intersoft Solutions Corp. All Rights Reserved.