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.

gdbg cellType = "MonthCalendar"

Thread ID:

Created:

Updated:

Platform:

Replies:

53708 Dec 19,2006 06:39 AM Dec 19,2006 08:53 AM Windows Forms 2
loading
Tags: GridControl
Simon Kakon
Asked On December 19, 2006 06:39 AM

Hi,
I would like to manage column of Type DateTime to show the cell combobox calendar only when the cell is in editing mode.

How can I do that ?

thanks
Simon

Administrator [Syncfusion]
Replied On December 19, 2006 06:42 AM

Hi Simon,

Try setting the StyleInfo.ShowButton property to hide/show the dropdown button in a cell. Here is a code snippet

this.gridDataBoundGrid1.Binder.InternalColumns["DateTimeColumn"].StyleInfo.ShowButtons = GridShowButtons.ShowCurrentCell;

Best Regards,
Haneef

Simon Kakon
Replied On December 19, 2006 08:53 AM

Thanks !!!
It works fine.

>Hi Simon,

Try setting the StyleInfo.ShowButton property to hide/show the dropdown button in a cell. Here is a code snippet

this.gridDataBoundGrid1.Binder.InternalColumns["DateTimeColumn"].StyleInfo.ShowButtons = GridShowButtons.ShowCurrentCell;

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.

;