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

Add TextBlock to Grouppanel

2 Answers 44 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Reilly
Top achievements
Rank 1
Veteran
Reilly asked on 02 Aug 2019, 02:54 PM

I'd like to add a simple TextBlock aligned to the right of the group panel. I feel like this is a modify the control template task, but I don't know how to begin.

Do you have a simple example?

Thanks.

-John.

 

2 Answers, 1 is accepted

Sort by
0
Accepted
Dimitar Dinev
Telerik team
answered on 05 Aug 2019, 01:03 PM
Hi John,

This can be achieved by modifying the ControlTemplate for GridViewGroupPanelTemplate. ​You can learn more about that in the Editing Control Templates article.

Attached, you can find a sample project in which I've extracted the ControlTemplate and added a TextBlock on the right side of the GroupPanel.

Please, let me know if that answers your query.

Regards,
Dimitar Dinev
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
Reilly
Top achievements
Rank 1
Veteran
answered on 07 Aug 2019, 08:13 AM

Hi Dimitar,

I had read the article; it left me unclear. This template is huge and I was unsure how much of it I needed to edit to get where I need to go.

Your example answers that question. I think I'm good.

Thanks a lot.

-John.

Tags
GridView
Asked by
Reilly
Top achievements
Rank 1
Veteran
Answers by
Dimitar Dinev
Telerik team
Reilly
Top achievements
Rank 1
Veteran
Share this question
or