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.

Current Cell Border

Thread ID:





16630 Jul 21,2004 06:44 AM Jul 21,2004 07:06 AM Windows Forms 2
Tags: GridControl
Administrator [Syncfusion]
Asked On July 21, 2004 06:44 AM

Is there any way to turn off the "CurrentCell" border for specific cells? In particular, I want it for all the cells except the row and column headers. Is there something I can do in the SelectionChanged event? Thanks. Pete

Administrator [Syncfusion]
Replied On July 21, 2004 07:01 AM

You can handle the DrawCurrentCellBorder event and set e.Cancel = true for any cell you do not want to see a currentcell border. SelectionsChanging does not involve the currentcell. Instead, it relates to the ranges that are being selected as you drag in the grid. CurrentCellMoving is the event that involves changing the location of the currentcell.

Administrator [Syncfusion]
Replied On July 21, 2004 07:06 AM

Thanks. That''s perfect.


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.