Is there a way when clicking on an EditorButton without going into edit mode? Thanks
Hello Michael,
Thank you for posting to our forum.
I am not very sure about what do you mean by ‘edit mode’ but if you do not want the cell to be editable, then you could probably set the column.CellActivation to NoEdit or ActivateOnly.
ActivateOnly option allows the user to go into edit mode so the user can select and copy text, however the cell will be read-only thus preventing any data modification.With option noEdit user would not able to edit and copy the text text and would be read only.
Your code would be like this :
UltraGridColumn column = this.ultraGrid1.DisplayLayout.Bands[0].Columns["ColumnName"];column.CellActivation = Activation.ActivateOnly;
For more information look this online document:
https://es.infragistics.com/help/winforms/infragistics.win.ultrawingrid~infragistics.win.ultrawingrid.ultragridcolumn~cellactivation
Please let me know if you need more information.