Caption for subgrid - WinForms

1 Answer 47 Views
GridView
Carl
Top achievements
Rank 1
Iron
Iron
Iron
Carl asked on 05 Jul 2023, 08:09 PM

In the screen mockup below, is it possible to include a subgrid header like the onr that reads "Reference Information" when there is only a single grid at that level?

1 Answer, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 06 Jul 2023, 04:40 AM

Hello, Carl,

If your grid contains a single child template, it will not have a corresponding tab and its caption will not be visible. To make its caption appear set the ShowChildViewCaptions of the MasterTemplate to true.

this.radGridView1.MasterTemplate.ShowChildViewCaptions = true;
this.radGridView1.Templates[0].Caption = "MyCaption";
I hope this information helps. If you need any further assistance please don't hesitate to contact me. 

Regards,
Dess | Tech Support Engineer, Principal
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
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or