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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

GGC Datetime cell readonly

Thread ID:





39388 Jan 5,2006 05:36 PM UTC Jan 6,2006 06:29 AM UTC WinForms 1
Tags: GridControl
Mike Monk
Asked On January 5, 2006 05:36 PM UTC

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 06:29 AM UTC

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.


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon