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.

Not showing current cell border in Grid with ListBoxSelection = one

Thread ID:





32634 Aug 4,2005 01:32 PM Aug 4,2005 03:00 PM Windows Forms 2
Tags: GridControl
Raymond Gunawan
Asked On August 4, 2005 01:32 PM

Hi! I''m using the Grid control with ListBoxSelectionMode = SelectionMode.One I noticed that the current cell border is shown, and the current cell background is white. Is there a way to override this? I would like the grid to just highlight the row and not show the current cell border. Thanks. Raymond.

Administrator [Syncfusion]
Replied On August 4, 2005 01:59 PM

If you do not want to edit any cell, then the simplest way to do this is to handle the grid.CurrentCellActivating event. In your handler, set e.ColIndex = 0.

Raymond Gunawan
Replied On August 4, 2005 03:00 PM

That''s a good idea! I think it works in my situation Thanks a lot! Raymond.


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.