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
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.
Please help me to solve the issue that I am facing. I have created a class to access data from DataBase (as attached RigClass.cs). This is using base project as attached DataLayerBase.zip. By using DataLayerBase project we are inheriting the class from database.
Now I have created a bindable as attached RigItemBindable.cs (RigItemBindable.Designer.cs) which is using attached CollectionComponetT.cs ( as attached).
Now I can see only 2-level of data. Below this depth I am not able to access the data.
In attached zip file we are binding the grid by using following:
grid.datasource=objRigItemBindable;
I am not able to update files. Please suggest that how i can?
Also if possibel the please suggest it with some example or please give me some url which has this type of implementation.