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

CellType = "DropDownGrid"

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?

1 Reply

AD Administrator Syncfusion Team 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();
}

Loader.
Live Chat Icon For mobile
Up arrow icon