The main issue that I faced while solving this task was in method DataItems.Add(object). If you pass as parameter your object then all public fields will be displayed in grid. To make a hierarchy you need to add public property of type List<SomeClass> to your class.
No comments:
Post a Comment