Hi,
I would like to achieve the following format for one of the columns on my grid:
12345.HK
ie. five digits of number followed by a dot followed by two letters
My grid has bound data (bind to a database) and it has an insertion row. I tried to do the mask format by setting:
gridControl.Columns[ column ].CellEditorManager = new Xceed.Grid.Editors.TextEditor(">#####.@@");
gridControl.Columns[ column ].CellViewerManager = new Xceed.Grid.Viewers.TextViewer(">#####&@@");
When it loads the data, the column looks fine. However, there are several problems. First, the column becomes non editable. (If I don't set the CellEditorManager and CellViewManager, the column is editable. But i can't achieve the desired format.) Secondly, upon editing on the insertion row (I can edit that column on the insertion row), the cell works fine. It tries to enforce the format I want. However, upon finish editing (when the focus is put away from the cell), the dot disappeared. So, it looks like 12345HK
How can I achieve the format using mask characters with bound data and insertion row on my grid?
Thanks in advance.