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

CellType = "DropDownGrid"

Thread ID:

Created:

Updated:

Platform:

Replies:

22555 Dec 15,2004 12:36 PM UTC Dec 16,2004 11:33 AM UTC WinForms 1
loading
Tags: Grouping
Dominic Morris
Asked On December 15, 2004 12:36 PM UTC

When I have a cell set to this type, and click on its dropdown button so that a sub-grid is displayed: Updates to the original grid''s DataSource cause the sub-grid to dissappear. Is there any way to prevent this?

Administrator [Syncfusion]
Replied On December 16, 2004 11:33 AM UTC

Here is something to try. In TableControlCurrentCellShowingDropDown, you can lock the currentcell: this.gridGroupingControl1.TableControl.CurrentCell.Lock(); Then you can handle TableControlMouseDown and unlocked it.
private void gridGroupingControl1_TableControlMouseDown(object sender, GridTableControlMouseEventArgs e)
{
	if(this.gridGroupingControl1.TableControl.CurrentCell.IsLocked)
		this.gridGroupingControl1.TableControl.CurrentCell.Unlock();
}

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.

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

;