Hi Experts
I am new to Infragistics, and just started using UltraWinGrid. And, i want to check if its possible to add UltraWinGrid(UWG) within UWG? If yes, then how its done.
Any help would be appreciated.
Thanks
Amit Govil
Yes; you could use the UltraControlContainerEditor control to host one grid and assign that editor to a cell so that it displays the nested grid.
Can you give me an example on how to make a parent child relationship in ultrawingrid(UWG).
What i want to do is, i have a UWG with all the employees detail with EmployeeID as well. And for each EmployeeID, i have Leave detail in another table. So the end result would be a Parent UWG with all the employee detail with EmployeeID and a child UWG with leavedetail for each Employee in Parent UWG.
How to do this?
The easiest way to set up hierarchical data in the WinGrid is to bind it to a hierarchical data source. There are a number of data sources you could use, such as UltraDataSource, or a BindingList<T>, but the most common is the DataSet class. What you do is define a DataSet with the two tables and a Relationship and then bind the grid to the table you want as the root.
There are step-by-step instructions on how to do this in online help. Here's a link to the topic.
I don't want to do this way, can you provide a code help please?
I don't understand what you are asking. What don't you want to do? What would you like help with?