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. Image for the cookie policy date
close icon

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.
Live Chat Icon For mobile
Up arrow icon