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

RadGridView.ChildTableDefinitions Column Header Text

2 Answers 13 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Ilya
Top achievements
Rank 1
Ilya asked on 13 Jan 2021, 03:00 PM

I have a GridView with ChildTableDefinitions which adds a column with pluses to expand and see child gridviews. How do I put a header title on that column?

2 Answers, 1 is accepted

Sort by
0
Dinko
Telerik team
answered on 18 Jan 2021, 08:49 AM

Hello Ilya,

The question in this thread is similar to one logged in one of your latest ticket threads. I will copy the answer from my colleague Dilyan here so that the community can take advantage of it:

I prepared a small sample project which I believe satisfies your requirements. For this purpose, I've handled the Loaded event of the parent RadGridView control.

In the Loaded handler, I create a glyph icon, which upon hover shows a tooltip that indicates that the +/- buttons need to be clicked for the rows to be expanded. I suggest this approach because if you decide to display text which has a width wider than that of the default one for the cells which display the buttons, further modifications will be required, which are not straightforward.

Regards,
Dinko
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products, quickly just got a fresh new look + new and improved content, including a brand new Blazor course! Check it out at https://learn.telerik.com/.

0
Ilya
Top achievements
Rank 1
answered on 18 Jan 2021, 06:42 PM
Yes, that was my ticket and it solved my problem. Thank you
Tags
GridView
Asked by
Ilya
Top achievements
Rank 1
Answers by
Dinko
Telerik team
Ilya
Top achievements
Rank 1
Share this question
or