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.
Unfortunately, activation email could not send to your email. Please try again.

Grid Question

Thread ID:

Created:

Updated:

Platform:

Replies:

4732 May 28,2003 11:51 AM Jun 2,2003 12:06 PM Windows Forms 2
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On May 28, 2003 11:51 AM

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?

Administrator [Syncfusion]
Replied On 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;
}

Administrator [Syncfusion]
Replied On June 2, 2003 12:06 PM

Thank you!

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.

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.

;