I'm working with Infragistics2.Win.UltraWinGrid.v11.1. I have a grid editable with amount column and I should be able to store positive and negative values. But I can't insert negative values.How I can config this column??Me.GridFacturas.DisplayLayout.Bands(0).Columns("BASE_IMPONIBLE").Format = "-###.###.##0.00"Me.GridFacturas.DisplayLayout.Bands(0).Columns("BASE_IMPONIBLE").MaskInput = "-nnn,nnn,nnn.nn"Me.GridFacturas.DisplayLayout.Bands(0).Columns("BASE_IMPONIBLE").MaskDisplayMode = UltraWinMaskedEdit.MaskMode.IncludeLiteralsMe.GridFacturas.DisplayLayout.Bands(0).Columns("BASE_IMPONIBLE").MaskClipMode = UltraWinMaskedEdit.MaskMode.Raw???I can't to indicate the sign - in the cell. (DataType is Double). Can anyone help me?Thanks
Hi,
It isn't neccessary to set both the Format and the MaskInput to essentially the same thing. I tried this out using the same code and I do not have any trouble entering a negative number, but I did notice that there is a bug that is causing the minus sign to show up twice. This bug appears to be fixed in the latest version, and it can be avoided by simply not setting the Format property (which you don't need, anyway).
I am attaching my sample here so you can see if you get the same problem. If you do, then this must be a bug in your version of NetAdvantage and the solution would be to update to the latest service release.
If my sample works for you, then something else must be going on in your application that is causing the problem.
The minus sign is shown twice. --50.25 ==> (-50.25)Also, now introducing positive values show in column the minus sign: -45.23 ==> (45.23)This column must support positive and negative values.
Sorry, is ok.
Thanks for everything