BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
I have a need for displaying, and to some extend performing CRUD operations on a data structure similar to: Customer – Sales Invoices – Sales Invoice Lines – Sale Invoice Line Details or Teacher – Class – Students - Grades.
The need for CRUD operations are not present on all levels, but let’s say on the Sales Invoice and Sale Invoice Line Details levels.
I would like to show data in a hierarchical structure with each level indented under the upper level. This is possible to do in a tree grid, but I’m unsure if the tree grid can handle different types of classes or if all levels must bee of the same class. I’m unable to find anything useful information about this.
A data grid can achieve the structure by grouping of data, but I don’t like this approach as the hierarchy is static, and a grouping can be altered by the user. This would mess up the easy overview I’m trying to achieve.
My questions are:
Is it possible to achieve my display needs with a hierarchical structure of different classes in the same grid e.g. a tree grid, data grid or some other control I haven’t mentioned?
And if so, how?
//Here we bound the hierarchical grid with different model classes
. . .
. . .
. . .