This is a migrated thread and some comments may be shown as answers.

How to remove the focus border of each individual cell in RadGridView?

4 Answers 783 Views
GridView
This is a migrated thread and some comments may be shown as answers.
KokSoon
Top achievements
Rank 1
KokSoon asked on 12 Jun 2014, 05:01 PM
Currently i am having some UI styling question with regards with RadGridView.
Whenever i click on any cells in RadGridView. Seem like there is a focus border around the cell. Is that possible to get rid of it?

4 Answers, 1 is accepted

Sort by
0
Accepted
Vanya Pavlova
Telerik team
answered on 13 Jun 2014, 06:52 AM
Hi KokSoon,


Thank you for contacting us. 
Generally, you are trying to remove the Border of the current  cell.

In our online documentation we have an article, which demonstrates how to remove it, following this link. 
Hope this helps. 


Regards,
Vanya Pavlova
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
0
KokSoon
Top achievements
Rank 1
answered on 13 Jun 2014, 07:27 AM
Thanks. It works
0
Martin
Top achievements
Rank 1
Veteran
answered on 14 Aug 2020, 09:05 AM
The link that you referred to seems to have been broken. Do you have an updated link?
1
Dilyan Traykov
Telerik team
answered on 18 Aug 2020, 02:52 PM

Hi Martin,

With the introduction of the CurrentBorderBrush property, the referenced article is no longer relevant. You can now remove the border of the cells with the following style:

            <Style TargetType="telerik:GridViewCell">
                <Setter Property="CurrentBorderBrush" Value="Transparent" />
            </Style>
Please give this a try and let me know if it works for you.

Regards,
Dilyan Traykov
Progress Telerik

Tags
GridView
Asked by
KokSoon
Top achievements
Rank 1
Answers by
Vanya Pavlova
Telerik team
KokSoon
Top achievements
Rank 1
Martin
Top achievements
Rank 1
Veteran
Dilyan Traykov
Telerik team
Share this question
or