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 Jyoti,
Could you please review the sample attached to this post and see if it meets your requirements.Please feel free to let me know if I misunderstood you or if you have any other questions.
Hi Boris,
Its working now.. :-)
But now i have another issue that user should not able to type value in that particular cell where UltraTree is bind. User should only select value from UltraTree nodes.
I tried with e.Row.Cells["Value"].Column.CellActivation = Activation.ActivateOnly; . But problem I am facing is that now TreeDrop down is not visible. Can u please suggest somthing on this?
Thanks in advance.
Hi jyoti,
Could you please try with the following code and let me know of the results:
e.Row.Cells[0].Column.CellActivation = Infragistics.Win.UltraWinGrid.Activation.ActivateOnly;
e.Row.Cells[0].Column.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.Always;
I wanted to know if you were able to solve your issue based on these suggestions or you still need help. Please let me know.
Sorry for the late reply... :-(
I have tried follwing code chunk.
e.Row.Cells[0].Column.CellActivation = Infragistics.Win.UltraWinGrid.Activation.ActivateOnly; e.Row.Cells[0].Column.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.Always;
Here, what is happening that , when I set CellActivation to .Activation.ActivateOnly to respected cell, That cell is beconing read only and user is not able to see tree view as well as he is not able to type in that cell.
Can you please suggest on this?
Hi,
In my sample, you are not able to type in the cell, but you are able to open the 'UltraTree'. You have already stated that you do not want to user to type in the cell.
Can you please clarify what is your final goal?
I am checking about the progress of this issue. Please let me know If you need any further assistance on this.
Your below solution is worked for me:
Now tree is visbile and user is not able to type in that cell also.
Thank you very much Boris... :-)