Hello,
I have an embedded editor in an UltraWinGrid and would like to know if it possible to hide the control.
I know I can set the cell's hidden value to false but this does not give me the desired affect as we have other functionality that no longer functions if the cell is hidden.
Below is an example piece of code I tried and while it does return to me the RenderingControl setting Visible = false has no affect. Also, we have no EditorControl on this form as it is not needed.
MyControlContainer myControlContainer = (MyControlContainer)ultraGridCellPlayerName.Editor;MyControl myControl = (MyControl)myControlContainer.RenderingControl;myControl.Visible = false;
Thanks in advance!
Anthony said:I know I can set the cell's hidden value to false but this does not give me the desired affect as we have other functionality that no longer functions if the cell is hidden.
What other functionality are you referring to?
Hello Anthony,
Thank you for contacting Infragistics. One possible approach is to set the RenderingControl to a new instance of UltraTextEditor and make it look like a regular cell and/or make it look disabled as an example, rather than hiding it. Otherwise you can simply set the RenderingControl to null to remove it. Then you an reassign the editor back when needed.
Under what condition do you require the rendering control to be hidden?
If you don't have an editing control does that mean you don't allow editing of the cells?
Let me know if you have any questions regarding this matter.
Sincerely,
Michael Di FilippoAssociate Software DeveloperInfragistics, Inc.www.infragistics.com/support