GDBG

Hi,

Is it possible to set StyleInfo CellValueType as "Currency" or "MonthCalendar" or other, and have the cell looks like a Link ?

Thanks

1 Reply

AD Administrator Syncfusion Team January 3, 2007 10:44 AM UTC

Hi Simon,

You can use the e.Style.CellType property to change the cell editor in a grid using PrepareViewStyleInfo event or Model.QueryCellInfo event. Here is a code snippet.

//For Currency CellType.
e.Style.CellType= "Currency";
//For MonthCalendar editor..
e.Style.CellType = "MonthCalendar";
//For MaskEditControl
e.Style.CellType = "MaskEdit";

Refer the CellType browser category for more details.
\Syncfusion\Essential Studio\4.3.0.25\windows\Grid.Windows\Samples\CellTypes\

See the KnowledgeBase Articles for more info.
QueryCellInfo event : http://www.syncfusion.com/Support/article.aspx?id=10351
PrepareViewStyleInfo event : http://www.syncfusion.com/Support/article.aspx?id=560

Best Regards,
Haneef

Loader.
Up arrow icon