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.
ADAdministrator Syncfusion Team June 24, 2004 04:08 PM UTC
If the style.CellValueType for the cell is set to double or single or decimal, then you can set style.Format = "F4" (or "#.0000" or any other format string - see grid\samples\quickstart\TextFormat for other examples).
ADAdministrator Syncfusion Team June 24, 2004 05:03 PM UTC
That works *but* I can no longer enter the field and modify the value. It seems as if its now read only after changing it from Currency to Decimal or Double.
>If the style.CellValueType for the cell is set to double or single or decimal, then you can set style.Format = "F4" (or "#.0000" or any other format string - see grid\samples\quickstart\TextFormat for other examples).
ADAdministrator Syncfusion Team June 24, 2004 05:16 PM UTC
There is no problem changing the values in the grid\samples\quickstart\TextFormat sample.
Can you post a little sample showing the problem?
If the type coming from teh database is Currency, you probably do not have to change the style.CellValueType, just set the style.Format. The formatting normally works OK as long as the type is not string.