We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

i am picking data from xml , but i want set numeric format so how i can do

Thread ID:





60250 May 1,2007 03:04 PM UTC May 1,2007 05:38 PM UTC WinForms 1
Tags: GridControl
Can we hide column at run time in synscfusion.wind
Asked On May 1, 2007 03:04 PM UTC

Hi using Syncfusion.Grid.Grouping.Windows

i am picking data from xml , but i want set numeric format in grid .so how i can do...

haneefm [Syncfusion]
Replied On May 1, 2007 05:38 PM UTC


You can try this code snippet to set the numeric format to the column in a grid.

this.gridGroupingControl1.TableDescriptor.Columns["quantity"].Appearance.AnyRecordFieldCell.CellValueType = typeof(double);
this.gridGroupingControl1.TableDescriptor.Columns["quantity"].Appearance.AnyRecordFieldCell.Format = "P";

And also refer the TextFormat Browser Sample shows you how to format the data in your grid. You can see the code that formats numbers and dates. It also has code that does the validation on the cell values as you leave the cell. Essential Grid uses the .Net Framework formatting support so that there is no additional learning curve involved. As a result of the .Net Framework, the formatting is culture sensitive.

Here is a path
[install drive]\Syncfusion\Essential Studio\\windows\Grid.Windows\Samples\Appearance\TextFormat\

Best regards,


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon