Please don’t send the binding method as that is in this link.
I have gone through this link also
http://help.infragistics.com/Help/NetAdvantage/NET/2008.2/CLR2.0/html/Infragistics2.Win.UltraWinTree.v8.2~Infragistics.Win.UltraWinTree.UltraTree~ViewStyle.html
In this link also there is no code shown to create a inner grid.
The image you have here is the designer for the UltraDataSource component. As it happens, thisdesigner does use the UltraWinTree (3 of them, in fact). But what exactly about this image do you want to duplicate in the tree?
Hi,
thanks for the reply
I have attached one more image please check it. In this I have shown the xml the grid (WinTree).
The xml node value can change at run time so I have to make the grid like this(see the image) with c# code(create column set and add to the node like that ) and without using binding.
also i must be
1. Able to edit the values in grid.
2. Add new item(see image), then new node of item(Single item is shown in the image, that is inside the InputType1 node) must append to the existing tree structure and i can enter the values
3. Delete the items.
4. Every thing done in the grid must reflect to the xml.
If everything i have above mentioned is possible with wintree, please help me to traverse the the wintree using c# code, similar to the treeview traversal.
I would greately appreciate your earliest response
Okay... I'm still notreally sure what your question is. If you want to do a lot of manipuation of the data, then you might consider using WinGrid instead of WinTree, especially if you need to add rows to the data. You could implement a UI to add nodes to the tree, but it has no functionality built-in for adding rows whereas the WinGrid does have this built in.
Either way, you would need to use some kind of data sourcethat takes your XML and creates an IBindingList that the grid or tree can read and then bind the control to this data source.
Thanks for the reply.
So let me check wingrid.
Can you help me with some links which show how to in wingrid
All this without binding with a datasource
Check out the WinGrid Samples Explorer. There are samples of just about everything you have here.
But.. you cannot use UltraWinGrid without a data source. It must have a data source in order to function at all. You don't have to use a DataBase, though. You can bind the grid to any List or BindingList. So if you don't have a back end data source, I recommend using an UltraDataSource component as your grid's data source.