I have unbound data and I want to be able to edit the values in the columns of my WinTree. I think I need a datasource rather than unbound data to allow editing of the column values. I therefore think I want to load this unbound data into a WinDataSource component and assocaite this data source to the tree. The unbound data has a recursive relationship similar to the Infragistics Recursive DataBinding Wintree example with the employee id/ supervisor id relationship where the supervisor is also an employee. I don't know how to specify this relationship in the WinDataSource. Will using a data source allow me to edit the values in the tree columns and if so how do I define the recursive relationship in the data source?
Thanks, that solved my problem.
You probably need to set the CellClickAction.
The reason I thought I needed a data source is in the About WinTree section of the documentation it states "Cell Editing -- Starting in the NetAdvantage for Windows Forms 2005 Volume 3 release you could edit the cells when the WinTree was data bound and had multiple columns."
I have been unable to find the right combination of tree and tree column parameters to allow editing of the column values in the tree. The entire row is selected when I click on anywhere a line in the tree and it does not allow editing of a cell in the column. What do I need to set to allow editing a column cell in the tree.
You do not need a data source to be able to edit cells in a tree. You can edit data in the tree with or without a data source.
UltraDataSource does not support recursion. If you want a recursive data structure, you would probably be better off using a DataSet.