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: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Line selection

Thread ID:





4315 May 7,2003 02:15 PM UTC May 7,2003 02:33 PM UTC WinForms 1
Tags: GridControl
Alexandre Nicholas
Asked On May 7, 2003 02:15 PM UTC

Hi, If i want to select all cells in the same row each time i click on a cell of the row, do i have to code it ? thanks The GridControlList does this :-) but i want to do the same on my grid

Administrator [Syncfusion]
Replied On May 7, 2003 02:33 PM UTC

Set the ListBoxSelectionMode property on the grid to SelectionMode.One. This should select whole rows for you, but it will leave the current cell a different color than the rest of the row. If you do not want this behavior, handle the CurrentCellActivating event, and set e.ColIndex = 0 in your handler.


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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

Live Chat Icon For mobile
Live Chat Icon