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 09:44 AM UTC

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


RI Richard April 12, 2005 04:21 AM UTC

Thanks Clay, that is exactly what I wanted


RI Richard May 31, 2005 03:00 AM UTC

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 08:37 AM UTC

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.
Up arrow icon