Hi allI am using "NetAdvantage 2009.2" and I am tryingto add a TreeView to a column.Does anybody know how to add a TreeView Controlto a UltraGrid Column ?The treeview is instanced and loaded. On the treeviewclick, the selected node as text will be returned into the cell value.Thanks for any help .Best regardsFrank Uray
Hi MikeYes, I have read the link but sorry, now I am quite lost ...In this link, there is all about button and editors, nothing about tree's ...Can you tell me:- Is it possible to have a treeview in the dropdown of a UltraGrid Cell ?- If yes, can you give me an idea of how to do ?The idea would be, after a node is selected, the selected text is the value of the cell.Thanks a lot and best regardsFrank Uray
Hi Frank,
Did you read the link I pointed you to above? There's no tree control that is also an editor. You have to assign an EmbedableEditor to the EditorComponent property, such as an UltraTextEditor. This is explained in some detail if you follow you that link. The only thing you have to change is to use EditorComponent instead of EditorControl.
Hi MikeSorry, I am still not sure in witch direction I have to work ...I tried to set the control for the column like this:...Bands[0].Columns["Test"].EditorComponent = (System.Windows.Forms.Control)static_MyTreeWhen I try this, I need to implement "Infragistics.Win.IProvidesEmbeddableEditor".But what do I have to implement in this property ??Or am I going the wrong way ??Thanks for your help.Best regardsFrank Uray
For a dropdown tree, you don't need the ControlContainerEditor. You will need to create your own editor. It's a lot easier than it sounds. This post has some sample code:
http://community.infragistics.com/forums/p/18024/65547.aspx#65547
Hi MikeThank you for your answer.Well, the tree should be in the dropdown.Can you give me a hint where to find the UltraControlContainerEditor ?Thanks and best regardsFrank Uray