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

GGC Datetime cell readonly

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

1 Reply

AD Administrator Syncfusion Team 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.

Loader.
Live Chat Icon For mobile
Up arrow icon