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.

GGC Datetime cell readonly

Thread ID:

Created:

Updated:

Platform:

Replies:

39388 Jan 5,2006 12:36 PM Jan 6,2006 01:29 AM Windows Forms 1
loading
Tags: GridControl
Mike Monk
Asked On January 5, 2006 12:36 PM

Hello, How can I disable the datetime dropdown for readonly cells? In fact, how can I disable all types of dropdowns for read only cells? Cheers, Mike

Administrator [Syncfusion]
Replied On January 6, 2006 01:29 AM

Hi Mike, you can use the TableControlCurrentCellShowingDropDown Event to disable the dropdown function. Here is the code snippet. private void gridGroupingControl1_TableControlCurrentCellShowingDropDown(object sender, Syncfusion.Windows.Forms.Grid.Grouping.GridTableControlCurrentCellShowingDropDownEventArgs e) { if(e.TableControl.CurrentCell.Renderer.IsReadOnly()) e.Inner.Cancel = true; } Let me know if you need futher assistance, Regards, Madhan.

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.

;