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

Selection rectangle issues

1 Answer 73 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Ismas
Top achievements
Rank 1
Ismas asked on 12 Aug 2016, 12:17 PM

Related screenshots:

Scr1: http://prnt.sc/c4t86p

Scr2: http://prnt.sc/c4tazq

Description:

1) if AddNewRow.True and AddNewRowPosition.Top the top line of cell selection rectangle is eated by half;

2) if SelectionMode.CellSelect the bottom line of cell selection rectangle is eated by half.

1 Answer, 1 is accepted

Sort by
0
Accepted
Dess | Tech Support Engineer, Principal
Telerik team
answered on 15 Aug 2016, 11:15 AM
Hello ,

Thank you for writing. 

Note that cells in RadGridView share the borders with the neighbouring cells. The new row has a white shadow bottom border which overlaps with the first row's top border. It is a similar situation with GridViewSelectionMode.CellSelect. Note that you can set the TableElement's CellSpacing and RowSpacing properties to 0 or 1 in order avoid borders overlapping no matter the SelectionMode.

I hope this information helps. Should you have further questions I would be glad to help.

Regards,
Dess
Telerik by Progress
Check out the Windows Forms project converter, which aids the conversion process from standard Windows Forms applications written in C# or VB to Telerik UI for WinForms.For more information check out this blog post and share your thoughts.
Tags
GridView
Asked by
Ismas
Top achievements
Rank 1
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or