Hiding Column Header Text in RadGridView

5 posts, 0 answers
  1. Ganesh Jagdale
    Ganesh Jagdale avatar
    69 posts
    Member since:
    Dec 2009

    Posted 04 Jan 2010 Link to this post

    Hi telerik,

    I want to hide header text of column in RadGridView of silverlight why because I shown Grid inside Grid for multiple self referancial  hirarchy. and for child grid I don't want to show column heade ...
     How to that?

    My .xaml code like  this..



    telerik:RadGridView Name="clubsGrid"






    ColumnsWidthMode="Auto" >


















        <telerik:RadGridView Name="level3" ShowGroupPanel="False" AutoGenerateColumns="False"     ColumnsWidthMode="Auto">



























    Silverlight DataGrid having one property

    HeadersVisibility="Column"  using this we can hide HeaderText

    but how to do with RadGridView

    Pls help me out...
  2. Vlad
    Vlad avatar
    11100 posts

    Posted 04 Jan 2010 Link to this post


    You can set ShowColumnHeaders to false to achieve this.

    All the best,
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. DevCraft banner
  4. Phillip
    Phillip avatar
    7 posts
    Member since:
    May 2016

    Posted 11 May in reply to Vlad Link to this post

    @Vlad And is it possible to describe exactly that for only one column? Maybe in the definition of the column?

         <telerik:GridViewDataColumn Header="{Loc Key=PREISLISTE_ABMENGE}" DataMemberBinding="{Binding Path=AbMenge}" IsFilterable="False"/>
         <telerik:GridViewDataColumn />  <!-- Here a column without header-->
         <telerik:GridViewDataColumn Header="{Loc Key=PREISLISTE_ABMENGE}" DataMemberBinding="{Binding Path=AbMenge}" IsFilterable="False"/>



  5. Dilyan Traykov
    Dilyan Traykov avatar
    337 posts

    Posted 12 May Link to this post

    Hello Phillip,

    Would simply setting the Header to an empty string suit your requirements? You could also set the IsFilterable and IsSortable properties for the respective column to False if needed.

    <telerik:GridViewDataColumn Header="" IsFilterable="False" IsSortable="False" />

    If that is not the case, you could define your own style for the GridViewHeaderCell element and set it as the column's HeaderCellStyle as shown in our Styling Column Headers article.

    I hope you find this information helpful.

    Dilyan Traykov
    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
  6. Karguvelrajan
    Karguvelrajan avatar
    2 posts
    Member since:
    Oct 2016

    Posted 1 day and 5 hours ago Link to this post

    Step : 1 Set ShowHeader false in Redgrid and MasterTableView.

    Step : 2  Set below things in Column

    <telerik:GridTemplateColumn UniqueName="Attribute" HeaderText="" AllowFiltering="false" AllowSorting="false">


Back to Top
DevCraft banner