Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1590
Problem with EnterEditMode if cell has UltraMaskedEdit
posted

 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.