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
Thank you
band.Columns["Double 1"].MaskDisplayMode = Infragistics.Win.UltraWinMaskedEdit.MaskMode.IncludeLiterals;
Hi Mike
one more thing on editig its fine now, but after i tabbed out the thousand separator got disappered please suggest
many thanks
Hi Mike,
if im using the way u suggested
band.columns["Double 1"].maskinput = "-nnnnnnnnnnn.nnnnnn";
is there anyway i can add the thousand separator ??
is this is do that "-n,nnn,nnn,nnn.nnnnnn"
please suggest
Many Thanks
Hi,
Not really. I mean you could try trapping the KeyDown event and cancel it (mark the event args handled) for any non-numeric keys. You would probably have to do this for the TextBox in the cell, though, and not the grid itself. I'm not absolutely sure. But then you would also have to allow any other valid keys like the arrow keys. then there's copy and paste to consider, as well as Delete. It get complicated pretty fast.
If the DataType of the column is a double, then the user's entry will be validated when they try to leave the cell. But not as they type.