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

Remove gridlines for only specific columns

1 Answer 273 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Pruthvi
Top achievements
Rank 1
Pruthvi asked on 31 Mar 2016, 02:03 PM

Hi,

Need to remove the vertical girdlines for only specific columns in the Grid. As pointed out in the attached grid screenshot we need to remove the last gridline.

 

Or can we make sure that existing column fill the entire space of the grid. [Already tried ColumnWidth = "*", not working ]

 

Any suggestion are welcome.

 

Thanks in advance

1 Answer, 1 is accepted

Sort by
0
Stefan Nenchev
Telerik team
answered on 04 Apr 2016, 01:37 PM
Hello ,

It is not possible to delete the border for a certain column. However, what you can do in your case is set the right-most column with "Width=*" or set all columns with such width so that they are rendered with equal widths in the RadGridView control:

<telerik:GridViewDataColumn  DataMemberBinding="{Binding StadiumCapacity}"
  Header="Stadium"
  Width="*"
  DataFormatString="{}{0:N0}"/>

Regards,
Stefan Nenchev
Telerik
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Tags
GridView
Asked by
Pruthvi
Top achievements
Rank 1
Answers by
Stefan Nenchev
Telerik team
Share this question
or