We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

IFormatProvider

Hi, I need to define a custom format - a way of formatting floats and doubles that isnt supported by the standard number styles. This formatting needs to be applied on a per-column basis, and I cant alter the underlying data type. What is the recommended way to handle this using the GridDataBoundGrid control?

1 Reply

AD Administrator Syncfusion Team November 17, 2003 02:21 PM

One way you can handle this is to subscribe to QueryCellFormattedText, and set e.Text to be the formatted text you want to see in the cells.

Loader.
Live Chat Icon For mobile
Up arrow icon