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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Grid Question

Thread ID:

Created:

Updated:

Platform:

Replies:

4732 May 28,2003 03:51 PM UTC Jun 2,2003 04:06 PM UTC WinForms 2
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On May 28, 2003 03:51 PM UTC

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 08:30 PM UTC

> 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 04:06 PM UTC

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.

Warning Icon 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.Close Icon

;