I am embeding an UltraMaskedEdit within grid cell.
I am doing that in the following way:
1) grid_.DisplayLayout.Bands[0].Columns["Start"].UseEditorMaskSettings = true;
Note, that column's DataType is String.
2) On InitializeRow event I am adding editior to the grid cell:
UltraMaskedEdit ultraMaskedEdit = new UltraMaskedEdit(); ultraMaskedEdit.EditAs = EditAsType.Time; e.Row.Cells["Start"].EditorControl = ultraMaskedEdit;
To be exact, when I double click on this cell it does not select text and does not have behaviour of cell which is in edit mode, but i am able to edit text correctly according to Time mask.
How can I get behaviour of edit mode for cell if it has ultraMaskedEdit?
Thanks in advance.
Mike, do you have a chance to answer my last reply?
a)When I double click on a cell without embedding editor this cell enters in edit mode :
1. This cell selects the text it contains
2. Carriage is set after last symbol and it blinks.
This is a nornal Edit Mode's behavior. See image below:
b) The behavior I am getting for cell with editor is following :
When I double click on a cell it does not selects text and carriage is not set after last symbol. This is very inconvenient for an user.
See image below:
But after double clicking on this cell and typing text I am still able to edit this cell's text according to Time mask I setuped.
I don't understand the question. What exactly is the behavior you are getting?