GridNumericColumn.NumberFormatInfo property not available when creating columns from column editor.

Hello,

I want to change the format of a column of type GridNumericColumn to not to show any zeros after decimal but I found that NumberFormatInfo property as described here is not available to modify when the columns are created from GridColumnCollection Editor. Below is the image of the same with properties sorted alphabetically and you won't find the property I'm concerned with.




However, If I create a new column of type GridNumericColumn programmatically, It starts showing the property inside the autocomplete popup ready to be modified as per need as shown below:




Is there any kind of bug due to which the property isn't being displayed there? Also if there any other way to remove decimal part from the fields under GridNumericColumn column, please let me know.

Thank you.

3 Replies 1 reply marked as answer

MA Mohanram Anbukkarasu Syncfusion Team December 24, 2020 11:16 AM UTC

Hi Shankul gupta, 

Thanks for using Syncfusion products.  

NumberFormatInfo property of GridNumericColumn doesn’t have designer support. You can only set value for this property programmatically. NumberFormatInfo is a framework type for which there is no designer support. So, we have already raised query in Microsoft developer community forum regarding this. Please find the below link,  


We will update you details, once we get possible solution from MSDN. We appreciate your patience until then.  
   
Regards, 
Mohanram A. 


Marked as answer

SG shankul gupta December 25, 2020 06:36 AM UTC

Hello,

Thank you for clearing this out and I hope you get a possible solution from MSDN and have the NumberFormatInfo Property receive designer support by default from next update. 
As far as my issue is concerned, I've created all the columns via code and thus I can alter all the properties as required.

Thank you once again! :-)


VS Vijayarasan Sivanandham Syncfusion Team December 28, 2020 08:30 AM UTC

Hi Shankul Gupta, 
 
Thanks for the update. 
 
We are glad to know that the reported problem has been resolved at your end. Please let us know if you have any further queries on this. We are happy to help you😊. 
 
Regards, 
Vijayarasan S 





Loader.
Up arrow icon