Syncfusion - GridControl - Currency Cell - Show Negative Sign

Syncfusion - GridControl  

How to show negative sign in the Currency Cell ?

In Property Page

Select - Currency Column in Designer - Currency Edit - Set Negative Pattern to 1

This will represent the Numeric value as -99,99,99


If the format is required with (99,999)

Than the format has to be changed to . 

 grdReport.Item(1, 2).Format = "###.##;(###.##)"

Output.

-2 will look as (2)







Comments

Popular posts from this blog

Shared / Static Class in vb.net/C#

Xamarin Forms : PopUp Page with RG.Plugins.Popup

Text was truncated or one or more characters had no match in the target code page.". (SQL Server Import and Export Wizard)