Hi,
I want to know whether the wintree can provide a nested grid.
My requirement is
1. I have to bind a xml with wintree and convert the wintree content to an xml.
2. All the cell must be editable.
3. I have to open a new grid with any number of columns from any cell of the wintree grid.
I am attaching an image of my requirement, so you can understand my requirement easily
Thanks in advance
Are there features of the grid you need to use that would prevent you from just using WinTree by itself? It can perform editing of columns also.
There are some things that WinTree can't do however. Have you looked at the samples explorer for the WinTree examples?
Nick
Thanks for the reply
I have checked the samples and It is going like a tree structure.
If all of my requirements cannot be met by the wintree, is there any other control which i can use for this purpose?
What you are wanting looks very similar to a multibanded grid. Don't know if that approach would be what you desire or not.
If your data structure can vary, then the UltraWinGrid won't be able to deal with it. The grid requires that all the data be homogenous - so every row at in the band has to have the same data structure.
UltraWinTree can do this, though. You need to set the Style to FreeForm and you will need to create ColumnSets for the data structure and assign the appropriate ColumnSet to each node.
Thanks for the reply Mike,
I have tried with columnsets.
<http://help.infragistics.com/Help/NetAdvantage/NET/2008.2/CLR2.0/html/WinTree_Creating_ColumnSets_and_Columns_in_the_Designer.html>
But I required just exactly like the image, which I have attached in my first post( a child grid is opened on the second cell, not from the root).
If this is possible please reply me with the code in c#.
Oh, I see. No, there's no way to do that as far as I know. You might be able to simulate something like this using a DropDown, rather than an embedded set of child nodes.