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

First Row Top Cell Border problem

3 Answers 75 Views
GridView
This is a migrated thread and some comments may be shown as answers.
OD
Top achievements
Rank 1
OD asked on 18 Oct 2018, 07:39 AM

Hi, 

I've tried many things to display the 1st row top cell border in a gridview when ShowColumnHeader is set to false (like screenshot).

Do you have an idea pls ?

Thanks

3 Answers, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 18 Oct 2018, 11:49 AM
Hello Jean,

Which theme are you using? I have tested this with the TelerikMetro theme and the border is visible (see attached).

I am looking forward to your reply.

Regards,
Dimitar
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
OD
Top achievements
Rank 1
answered on 18 Oct 2018, 12:34 PM

argg, i tried with Windows8 and that works, but i use my own theme based on Windows8, i probably done a mistake ^^

Thanks for your answer, i look forward

regards

0
Dimitar
Telerik team
answered on 19 Oct 2018, 09:59 AM
Hello Jean,

I was able to reproduce this with the Windows8 theme. Want you need to do is set the top padding of the table element:
radGridView1.TableElement.Padding = new Padding(0, 1, 0, 0);

I hope this will be useful. Let me know if you have additional questions.

Regards,
Dimitar
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
GridView
Asked by
OD
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
OD
Top achievements
Rank 1
Share this question
or