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.

How to display ''%'' format in grid cells?

Thread ID:

Created:

Updated:

Platform:

Replies:

55307 Jan 26,2007 09:14 PM Jan 29,2007 10:19 AM Windows Forms 1
loading
Tags: GridControl
Yifei Hong
Asked On January 26, 2007 09:14 PM

Hi,

I am wondering how I can display double values in percentage format '%' in grid cells. What is the correct CellType to set?

Btw, where can I see the full list of type values for CellType?

thanks a lot,
Yifei

Administrator [Syncfusion]
Replied On January 29, 2007 10:19 AM

Hi Yifei,

Issue 1: Percentage cells.

Here are a couple of forum threads that show different ways to tackle this problem.

1:http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=17345
2:http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=16888

Issue 2: CellTypes

The class Syncfusion.Windows.Forms.Grid.GridCellTypeName provides a set of names that can be assigned to celltype property of a GridStyleInfo. Here is a code snippet

Style.CellType = Syncfusion.Windows.Forms.Grid.GridCellTypeName.CheckBox;

Best Regards,
Haneef

CONFIRMATION

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.

;