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

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

1 Reply

AD Administrator Syncfusion Team January 29, 2007 03:19 PM UTC

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

Loader.
Up arrow icon