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

filterbox does not close when next click is in locked cell.

Thread ID:





6991 Sep 9,2003 04:33 AM UTC Sep 9,2003 08:06 AM UTC WinForms 2
Tags: GridControl
Markus Kraft
Asked On September 9, 2003 04:33 AM UTC

Hi, if any combobox dropdown and the next click is in a locked cell (gbc.StyleInfo.Enabled = false;) the filterbox will not close. The filterbox only will close when the next click is in a editable cell. Is it possible to close comboboxes when no entry in the box is selected and the next click is in a locked cell? thanks markus

Administrator [Syncfusion]
Replied On September 9, 2003 06:56 AM UTC

This behavior is by design. Clicking a disabled cell does not change the current state of teh grid. If you want to close the dropdown, then I think you can explicitly do it in GridControlMouseDown.
private void gridDataBoundGrid1_GridControlMouseDown(object sender, Syncfusion.Windows.Forms.CancelMouseEventArgs e)
	int row, col;
	Point pt = new Point(e.MouseEventArgs.X, e.MouseEventArgs.Y);
	if(this.gridDataBoundGrid1.PointToRowCol(pt, out row, out col, -1)) 
		GridStyleInfo style = this.gridDataBoundGrid1[row, col];
			GridCurrentCell cc = this.gridDataBoundGrid1.CurrentCell;
			if(cc.RowIndex == 1)

Markus Kraft
Replied On September 9, 2003 08:06 AM UTC

thanks it works well


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