Hi
I am using the following code to set a editor to the column in grid
EmbeddableEditorBase editor;
DefaultEditorOwnerSettings editorSettings = new DefaultEditorOwnerSettings();
editorSettings.DataType = typeof(decimal);
editor = new EditorWithMask(new DefaultEditorOwner(editorSettings));
editorSettings.Format = "Rs" + " ########0.00";
ultraGridRow.Cells["MyColumn"].Editor = editor;
when a cell in MyColumn is not in edit mode it shows the value as RS 100, but when it is in edit mode it changes to $______100.00.
My problem is I want to show "Rs" symbol even in edit mode. Can anyone tell me how to solve the above mentioned problem.
Thanks in advance
Navi
If "RS" happens to be the currency symbol for a particular culture, you can assign the corresponding CultureInfo to the UltraGridColumn's FormatInfo property. If it isn't, you can customize the mask that appears by setting the column's MaskInput property. The help topic for that property contains information on the mask tokens you can use.
Thanks for the reply Brain, it worked. I am setting the mask input now.