Hello Friends,Infragistics wingrid offers formatting at column level.I want the same functionality at the cell level.My requirement is to NOT allow multiple decimal points in the wingrid cell. This is required at cell level and not at column level.Regards,Sid.
Hi Sid,
If your grid only contains numbers and string then you could put a 0 (zero) in every Column's Format property. That way any number will only be shown without any decimal places but strings will not be effected.
If you have other data types, such as dates, then you may need to consider a Custom Format Provider which checks the data type before applying formatting. I can let you have an example of this if it will help.
Cheers,
Andy.
Hi Andy,
Thanks for the prompt reply.Actually, I dont need formatting at the column level.I need formatting at the cell level. The cell should allowthe entry of numbers and decimal numbers(with one decimal point).I would be thankful if you could give me a sample code.Regards,Sid.