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

Highlight entire grid

Thread ID:





51707 Nov 11,2006 10:39 PM UTC Nov 13,2006 04:19 AM UTC WinForms 1
Tags: GridControl
Charlie Mao
Asked On November 11, 2006 10:39 PM UTC


I was wondering if anyone knows why when I use
griddataboundgrid1.ListBoxSelectionMode = SelectionMode.MultiExtended to highlight the entire row when I click on a cell, I then loose the ability to click on the top left corner to highlight the entire grid. Is there a way I can have both functions working together? Thanks...


Administrator [Syncfusion]
Replied On November 13, 2006 04:19 AM UTC

Hi Charlie,

Use the Model.Selections property to manages selected ranges in the grid. It allows you to add and remove selections, determines selection state of a specific cell. Try the below code in the CellClick event of the grid.

private void grid_CellClick(object sender, GridCellClickEventArgs e)
if( e.ColIndex == 0 && e.RowIndex == 0 )

Best Regards,


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