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

Grouping grid - edit on double click only

Hi Is there a way that I can set up a grouping grid so that a cell only goes into edit mode when the user double clicks a cell, the default is that the cell goes into edit mode when it is clicked once

4 Replies

AD Administrator Syncfusion Team April 11, 2005 04:44 AM

Try setting this property to see if it gives you what you need. this.gridGroupingControl1.TableModel.Options.ActivateCurrentCellBehavior = GridCellActivateAction.DblClickOnCell;


RI Richard April 11, 2005 11:21 PM

Thanks Clay, that is exactly what I wanted


RI Richard May 30, 2005 10:00 PM

Now how can I programmatically start edit mode on a particular cell, I want to do a setup a right click, edit.


AD Administrator Syncfusion Team May 31, 2005 03:37 AM

One way is to call BeginEdit on the currentcell.
private void gridGroupingControl1_TableControlCellMouseUp(object sender, GridTableControlCellMouseEventArgs e)
{
	if(e.Inner.MouseEventArgs.Button == MouseButtons.Right)
	{
		e.TableControl.CurrentCell.BeginEdit();
	}
}

Loader.
Live Chat Icon For mobile
Up arrow icon