Hi,
I've got a problem with a big decimal precision. I'm using UltraGrid to present decimal values that come from Oracle. One problem is that OracleDecimal precision is quite big to decimal precision of .Net
So i decide use UltraMaskedEditor as EditorControl of the grid to show that values as string but formated as a double like this : 123.456.678.901,00 and dataFilter as
Public Class CheckEditorDataFilter Implements Infragistics.Win.IEditorDataFilter
Public Function Convert(ByVal args As Infragistics.Win.EditorDataFilterConvertArgs) As Object Implements Infragistics.Win.IEditorDataFilter.Convert
that applies the mask with the number separator and return it.
My problem is that when i'm in editMode, the cell appear to have the pronpt char "_" to fill the remain values, so i change it to "", but the spaces appear anyway...
Is the a solution to remove this white spaces when i'm in edit mode?
No, you cannot completely remove the prompt characters for the Masked Editor. Perhaps you could acheive what you want without masking, using a regular text cell?
A regular text cell won't work because i want to save the value in dataset without de group seperator ( . ) and show the value in the cell with the group seperators.
So, i must have some kind of mask or filter that i can apply the group seperators and save it in dataset without group separator...
Anyway, thanks for the reply.
me653 said:A regular text cell won't work because i want to save the value in dataset without de group seperator ( . ) and show the value in the cell with the group seperators.
That's easy. You just use the Format property on the column. This will change the format for display but have no effect on the actual Value of the cells.