Hi, I currently a percentage cell on my bound datagrid. When I use the percentage format : e.Style.Format = "#.00%" it multiplies my value by 100. I would like to see 3 formatted like this: 3.00% not 300.00%. How can I do this?
ADAdministrator Syncfusion Team October 18, 2004 04:19 PM
Here is a forum thread that references other threads that have samples of a couple of ways to handle this.
PAPaulOctober 18, 2004 04:44 PM
Hi, thanks for the reply.
I check out both of those solutions and the second one is close to what I am after. The "PushbuttonOnCheck" solution has no decimal places.
The "WindowsApplication3" solution only works properly if the % sign is not cleared when the user is entering data.
Do you have any other suggestions?
ADAdministrator Syncfusion Team October 18, 2004 11:48 PM
Another way to try to do this is to use the two formatting event, QueryCellFormattedText (formats the display text) and SaveCellFormattedText (formats the object that is saved after a change). Here is a sample.