[Solved] Eliminate tab headers on subgrid

1 Answer 23 Views
GridView
Carl
Top achievements
Rank 1
Iron
Iron
Iron
Carl asked on 29 Jan 2026, 02:02 PM

I'm trying to eliminate the tab that says table on the subgrids below. I've tried 

     template1.ShowChildViewCaptions = false;

     template1.MasterTemplate.ShowChildViewCaptions = false;

     grid.ShowChildViewCaptions = false;

     grid.MasterTemplate.ShowChildViewCaptions = false;

Nothing works. What am I doing wrong?

Thanks

Carl

 

1 Answer, 1 is accepted

Sort by
0
Nadya | Tech Support Engineer
Telerik team
answered on 30 Jan 2026, 08:58 AM

Hello, Carl,

To eliminate the tab "table" from the child grid, you need to handle the ViewCellFormatting event and set the Visibility property for all tab items to Collapsed. Please refer to the following code snippet:

 private void RadGridView1_ViewCellFormatting(object sender, CellFormattingEventArgs e)
 {
     GridDetailViewCellElement cell = e.CellElement as GridDetailViewCellElement;
     if (cell != null)
     {
         if (cell != null)
         {
             foreach (RadPageViewStripItem item in cell.PageViewElement.Items)
             {
                 item.Visibility = ElementVisibility.Collapsed;
             }
         }
     }
 }

    I hope this helps. Please let me know if you have other questions.

    Regards,
    Nadya | Tech Support Engineer
    Progress Telerik

    Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

    Tags
    GridView
    Asked by
    Carl
    Top achievements
    Rank 1
    Iron
    Iron
    Iron
    Answers by
    Nadya | Tech Support Engineer
    Telerik team
    Share this question
    or