Hello,
I have Many-To-Many Relationship problem in my Grid.Searched the examples but could not find a way to do the column binding (unless using separate ViewModel). What I tried to do is:
columns.Bound(o => o.PERSON.EDUCATIONs.Select(m => m.E_DEGREE)).Title("Degree").Width("12.5%");
That, of course, gives the following error:
Bound columns require a field or property access expression.
Is it possible to achieve the above?
Thanks
5 Answers, 1 is accepted
0
Hello Silviya,
I would suggest checking the following threads:
Regards,
Alexander Popov
Telerik
I would suggest checking the following threads:
Regards,
Alexander Popov
Telerik
See What's Next in App Development. Register for TelerikNEXT.
0
Matteo
Top achievements
Rank 1
answered on 25 Mar 2016, 03:44 PM
Hy Silviya,
I'm working with Kendo and I've got the same problem with the Relationship in Grid.
I'd like to know if you have solved the problem and how.
Pleas ask me.
0
Antonio
Top achievements
Rank 1
answered on 04 Apr 2016, 07:08 PM
Hi,
can you publish a small sample project.
0
Matt
Top achievements
Rank 1
answered on 12 Feb 2018, 07:44 AM
Is there an actual example done by Telerik? This is frustrating. All examples are partly there.
0
Hi Matt,
The Grid is designed to be used with flat data and we only provide a built-in functionality for ForeignKey column with one-to-many relationship. As suggested in the linked forum threads in the previous posts, for many-to-many relationship, Hierarchical Grid or custom editor could be used:
Regards,
Konstantin Dikov
Progress Telerik
The Grid is designed to be used with flat data and we only provide a built-in functionality for ForeignKey column with one-to-many relationship. As suggested in the linked forum threads in the previous posts, for many-to-many relationship, Hierarchical Grid or custom editor could be used:
- https://www.telerik.com/forums/working-with-manytomany-relations
- https://www.telerik.com/forums/grid-with-many-to-many-relationship
Regards,
Konstantin Dikov
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which
deliver the business app essential building blocks - a grid component,
data visualization (charts) and form elements.