Completed
Last Updated: 15 Aug 2018 14:44 by ADMIN
Tim
Created on: 26 Jan 2016 16:07
Category: GridView
Type: Feature Request
14
How to remove focus rectangle from selected cell
Currently I am using row selection for my readonly grid. There is a cell highlight that shows which cell the user has selected.  I would like to disable that highlight so that the row selection looks consistent no matter where on the row the user clicks.
(Copied from: 
http://www.telerik.com/forums/disable-selected-cell-highlight

See this link for more details:  http://www.telerik.com/forums/how-to-remove-focus-rectangle-from-selected-cell#9GAEx-HPN0C_qOGAsXY2PA   )

This should be possible without adding 200 lines xaml code. Just expose the CellBorderBrush Property so we can easily set it to transparent
11 comments
ADMIN
Vera
Posted on: 15 Aug 2018 14:44
GridViewCell CurrentBorderBrush property was included in the latest internal builds and will also be part of the next Official Release - R3 2018, scheduled for the mid of September.
ADMIN
Kalin
Posted on: 06 Aug 2018 13:21
Hi Chris,

I'm sorry to hear about your frustration and want to assure you that we highly appreciate the feedback we receive and one of our main goals is to constantly improve the product according to it. After discussion we decided to include this feature in our planning for the upcoming release (R3 2018), more over we already introduced the property in the latest internal build (live today). Note that it is not fully tested yet, however you can check it out (by downloading the internal build from your Telerik account) - it is property of the GridViewCell named CurrentBorderBrush and can easily be set through Style. 

Everybody, please share any feedback regarding the feature here.

Kalin,
Telerik
Chris
Posted on: 26 Jul 2018 23:56
Thanks for taking our feedback "into consideration" and then just ignoring us as usual.  This is precisely why Telerik WPF controls are considered some of the worst to work with in WPF.  So many years of developers begging for this minor feature, yet you still won't bring up this feature to that of the basic WPF DataGrid.  This is one of the reasons DevExpress is eating your lunch.

Every single Telerik WPF project I've worked on has had to deal with this, and has had to work this into our theming.  Out here in the real world this is a real pain point.  So fix it!
ADMIN
Dilyan Traykov
Posted on: 06 Mar 2018 16:10
Thank your replies, Tom and John. We will take your feedback into consideration.
John
Posted on: 13 Apr 2017 18:53
I totally agree that this should just be a property setting. This is a common scenario that developers face and really should have been thought of when this component was originally designed. The overhead to achieve this result is way too much.
Tom
Posted on: 29 Mar 2017 22:02
This just simply has to be implemented. Ivan if you don't want to expose these visual elements that is understandable, ok so then expose a property on the RadGridView that does this for us e.g CanUserSelectCell=False, as mentioned above this is even possible on a standard WPF DataGrid so really that should be your starting use case.

This is basic functionality that looks like it will never get implemented. 
ADMIN
Ivan Ivanov
Posted on: 21 Sep 2016 13:31
The generally recommended approach for modifying control’s appearance in WPF is to use a template copy. While this option can create overhead in certain scenarios, we would still stand behind our initial plan to be conservative with adding visual properties for every child element. As for this very scenario, I will reopen the feedback item, as significant client demands was shown. We will introduce a property that controls the current cell’s “highlight” state with some of our future releases. 
With regard to the remark about the WPF DataGrid, I believe that its behavior should not be lightheartedly compared to the one we are discussing. While DataGrid’s Cell has a very simple visual structure and uses its main Border element as current cell indicator, GridViewCell’s template utilizes several separate borders. Exposing separate Brush and Thickness property for each of them will not only encumber our public API, but it will also provide only limited options for visual modifications. Modifying the template would still be the only viable approach, when significant visual customizations are needed.
Christopher
Posted on: 16 Sep 2016 19:57
This is such a ridiculous answer.  This is the biggest pain point to your control set and there are lots of simple solutions, you just don't want to fix it.  Even the WPF built in DataGrid does this with ease so stop pretending it's too hard.
Mauricio
Posted on: 01 Apr 2016 18:51
You don´t need to give control over the child grid visual elements, cannot you add a new grid view property to disable highlight current selected cell when it makes no sense  (readonly full, rowselect)?.
ADMIN
Ivan Ivanov
Posted on: 01 Mar 2016 17:55
RadGridView and its child containers have a lot of building visual elements. Exposing a set of properties for each of them would tremendously encumber our public API. The recommended WPF approach for similar scenario still involves modifications of the control template. 
Tim
Posted on: 26 Jan 2016 16:08
This Feedback Item refers to the RadGridView.