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

Grid Question

Is there any way to cause the grid to select a row when a cell is clicked instead of going into edit mode for that cell?

2 Replies

AD Administrator Syncfusion Team May 28, 2003 04:30 PM

> Is there any way to cause the grid to select a row when a cell is clicked instead of going into edit mode for that cell? Try setting these properties this.gridControl1.ActivateCurrentCellBehavior = GridCellActivateAction.None; this.gridControl1.ListBoxSelectionMode = SelectionMode.One; If you want the current cell to have the same backcolor as the rest of the row, then handle the CurrentCellActivating.
private void gridControl1_CurrentCellActivating(object sender, GridCurrentCellActivatingEventArgs e)
{
	e.ColIndex = 0;
}


AD Administrator Syncfusion Team June 2, 2003 12:06 PM

Thank you!

Loader.
Live Chat Icon For mobile
Up arrow icon