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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Clearing comobox cells dropdown when clicking on the grid

Thread ID:





19766 Oct 4,2004 11:10 AM UTC Oct 4,2004 11:40 AM UTC WinForms 1
Tags: GridControl
Gordon Rhea
Asked On October 4, 2004 11:10 AM UTC

Hi, I''ve got a grid control that has some combo boxes. If the user opens the drop down on the combo boxes and changes their mind they either have to click on a different cell or off the grid entirely. If the user clicks on a part of the grid control that isn''t populated with cells the drop down won''t close. How can I force the drop down to close when the user clicks on the empty space in the grid control? Thanks, Gordon

Administrator [Syncfusion]
Replied On October 4, 2004 11:40 AM UTC

They can also press the escape key to close the dropdown. If you want to close it if the user clicks the grid outside the area occupied by cells or scrollbars, you can listed for the grid.Click event.
private void gridControl1_Click(object sender, EventArgs e)


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

Live Chat Icon For mobile
Live Chat Icon