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

Current Cell Border

Thread ID:





16630 Jul 21,2004 10:44 AM UTC Jul 21,2004 11:06 AM UTC WinForms 2
Tags: GridControl
Administrator [Syncfusion]
Asked On July 21, 2004 10:44 AM UTC

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 11:01 AM UTC

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 11:06 AM UTC

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.

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