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.
Unfortunately, activation email could not send to your email. Please try again.

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

Thread ID:





60250 May 1,2007 11:04 AM May 1,2007 01:38 PM Windows Forms 1
Tags: GridControl
Can we hide column at run time in synscfusion.wind
Asked On May 1, 2007 11:04 AM

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 01:38 PM


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.

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.