Hi All,
By default Im getting only 2 decimal places by using the following column style.
ColumnStyle.Double
I need to have 6 decimal places, how to get that..please do the needful bit urgent.
With Thanks & Reagrds
Amjath
Hi Mike,
Thanks Mike
Then is there anyway to specify that the cell will allow only digits . and - sign alone no other characters
With Thanks & Regards
Hi,
No.. if you are using a mask, then the mask always limits the user to a specific number of digits. The only way to not have a limit would be to not use any mask, which means you should not set the Style on the column at all, and then the user can type anything they want into the cell.
Hi Mike Thanks a lot its working fine...
I have one doubt, is it possible to just give the decimal places alone. I mean I dont want to limit the digits before decmial point.
i mean "nnnnnnnnn.nnnnnn" basically i dont want to give the bold text (means user can type any number of values i just want to fice the decimal places alone to 6)
is that possible ???
waiting for your reply
With Thanks
private void ultraGrid1_InitializeLayout(object sender, Infragistics.Win.UltraWinGrid.InitializeLayoutEventArgs e) { UltraGridLayout layout = e.Layout; UltraGridBand band = layout.Bands[0]; band.Columns["Double 1"].Style = Infragistics.Win.UltraWinGrid.ColumnStyle.Double; band.Columns["Double 1"].MaskInput = "nnnnnnnnn.nnnnnn"; }