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

Kendo Grid With Multiple Objects

1 Answer 163 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Brian
Top achievements
Rank 1
Brian asked on 01 May 2015, 07:28 PM

I'm trying to populate a keno grid with columns from two different objects.

 Subscriber, and Subscription.

 Both these objects are different entities.

Right now I can only bind one of them to my grid at a time and create columns for it. Is there any way I can bind both of these objects to my grid without having to merge the two entities together?

1 Answer, 1 is accepted

Sort by
0
Alexander Popov
Telerik team
answered on 05 May 2015, 08:47 AM
Hello Brian,

This is not supported, due to the strongly typed nature of the Grid builders. I would recommend creating a new ViewModel that contains the fields that you are interested in displaying.

Regards,
Alexander Popov
Telerik
 

See What's Next in App Development. Register for TelerikNEXT.

 
Tags
Grid
Asked by
Brian
Top achievements
Rank 1
Answers by
Alexander Popov
Telerik team
Share this question
or