Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
280
Ultra Win Grid n-level hierarchy grid
posted

Hi,

I would like to implement  Hierarchal grid functionality in ultragrid. I have 5 tables like A,B,C,D and E. in which A is parent of B, B is parent of C, C is Parent of D and D is parent of E. I have created Collection and singular class for each of the table. Now please suggest how i use these calsses so that the  i can show the records in UltraGrid as shown below:

Thanks

Anupam Shukla

Parents
  • 469350
    Offline posted

    Just to add a little to what Brian wrote... You would probably want to bind the grid to a list which contains class A objects.

    Also, if the data needs to be updateable by the user, then I strongly recommend using IBindingList instead of IList. IList is not a robust interface for binding. So the easiest thing to do would be to use BindingList<T> to create a list of "A" objects and to have each object A expose a BindingList<T> or "B" objects, etc.

Reply Children