Step 1) i have UltraTextEditor control. on that i added UltraExplorerTree like below-
UltraTextEditor.ButtonsRight.Add(new DropDownEditorButton("FolderTree")); ((DropDownEditorButton)UltraPlantArea.ButtonsRight["FolderTree"]).Control = UltraExplorerTree;
step 2) Now on grid column i assigned grid column Editorcontrol property to UltraplantArea.
grid.DisplayLayout.Bands[0].Columns["col1"].EditorControl = ultraTextEditor;
grid.DisplayLayout.Bands[0].Columns["Col1"].ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.Always; //grid.DisplayLayout.Bands[0].Columns["Co1"].CellActivation = Activation.NoEdit; grid.DisplayLayout.Bands[0].Columns["Col1"].Style = Infragistics.Win.UltraWinGrid.ColumnStyle.DropDownList;
PlatArea is displyed after click on dropdownlist , but i m facing 2 problem-
1)I ned to double click on dropdown list after that only i can c utratextEditor data
2) Cell is Editble. I want non editable.
For that i tried to add key down event of ultraPlan but it never get fired.
Pls suggest any other solution.
Thanks
Hello Jyoti,
I am checking about the progress of this issue. Please let me know If you need any further assistance on this.
I believe that this topic has already been discussed in the following forum thread:
Set EditorComponent of specific grid cell with UltraTextEditor
I have created a UltraExploreTree and assigned to the UltraTextEditor.Now I want to set EditorComponent of specific grid cell with UltraTextEditor. I have tried this but cell displayed blank.
Is any idea on how to do this.
Thanks,
Jyoti
Hello again jyoti p,
Thank you for the effort and time spent on our forum. We are glad that this is working for you.
If have any other questions in the future please do not hesitate to contact us.
hi..
Just found solution by using below's code -
UltraExplorerTree uet = ((Infragistics.Win.UltraWinEditors.DropDownEditorButton)(((UltraTextEditor)e.Cell.EditorComponentResolved).ButtonsRight.All[0])).Control as UltraExplorerTree;e.Cell.Row.Cells["colname"].Value = uet.ActiveNode.Key;