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

Line selection

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

1 Reply

AD Administrator Syncfusion Team 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.

Loader.
Live Chat Icon For mobile
Up arrow icon