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.
Up arrow icon