Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1020
Format at Cell Level.
posted

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.

Parents
No Data
Reply
  • 990
    posted

    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.

Children