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

How to set Other Column value in GroupHeader

1 Answer 388 Views
DropDownList
This is a migrated thread and some comments may be shown as answers.
Adit
Top achievements
Rank 1
Adit asked on 04 May 2015, 10:56 AM
I have grouped by my report using User Name and using grouping that is done nicely. But I want to show User Image with user name in group header. I have read document but does not find any thing. It show we can use only one group at time and no other way to access other column value. How would I achieve this using Kendo grid?  Note: Each user has unique image so we don't have any problem. But not able to access that Image URL in group header template.

1 Answer, 1 is accepted

Sort by
0
Alexander Popov
Telerik team
answered on 06 May 2015, 08:38 AM
Hello Adit,

The GroupHeader template provides access only to the value of the field that was used for grouping and its aggregates. If you expected to have the same URL for all items in the group, then you can add an aggregate, as shown in this proof of concept example.

Regards,
Alexander Popov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
DropDownList
Asked by
Adit
Top achievements
Rank 1
Answers by
Alexander Popov
Telerik team
Share this question
or