Remove gridlines for only specific columns

2 posts, 0 answers
  1. Pruthvi
    Pruthvi avatar
    1 posts
    Member since:
    Mar 2016

    Posted 31 Mar Link to this post

    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

  2. Stefan Nenchev
    Admin
    Stefan Nenchev avatar
    280 posts

    Posted 04 Apr Link to this post

    Hello Pruthvi,

    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.
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top