formatCellDialog - Currency format change

Good day,

Is it possible to change the currency format in the dialog menu ("Number" tab) to C0 instead of the default C so that no decimal places are shown?

1 Reply

AA Arulraj A Syncfusion Team September 7, 2018 05:44 AM UTC

Hi Travis, 

Thanks for using Syncfusion product. 

By default, GridFormatCellDialog does not have the support to change the default settings. But, you can avoid the decimal places for currency column using CurrencyEdit.CurrencyDecimalDigits property. Please refer the following code example and the sample, 
 
Code example 
this.gridControl1.ColStyles[5].CurrencyEdit.CurrencyDecimalDigits = 0; 


Please refer the below UG link, 

Arulraj A 


Loader.
Up arrow icon