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

gdbg cellType = "MonthCalendar"

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

2 Replies

AD Administrator Syncfusion Team December 19, 2006 11:42 AM UTC

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


SK Simon Kakon December 19, 2006 01:53 PM UTC

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

Loader.
Live Chat Icon For mobile
Up arrow icon