The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
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?
Thanks
ADAdministrator Syncfusion Team October 18, 2004 09:19 PM UTC
Here is a forum thread that references other threads that have samples of a couple of ways to handle this.
http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=20010
PAPaulOctober 18, 2004 09:44 PM UTC
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?
Thanks
ADAdministrator Syncfusion Team October 19, 2004 04:48 AM UTC
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.
percent_6600.zip