- Home
- Forum
- Angular - EJ 2
- Sort grid on different linked entity fields
Sort grid on different linked entity fields
Hi !
We are trying to have sort grid on different columns related to a child. We want to be able to edit the child.
I've created a stackblitz example to give an example of what we need. I've used Northwind services from https://services.odata.org/V4/Northwind/Northwind.svc
Here comes 3 problems
Sort problem
Now, I would like to sort the table by customer name or by customer title. But I'm unable to send the sort column for the linked customer. How could this be possible ? And if this is possible, how can we sort by title THEN ny name ?
Edit problem 1
Now, I have enable edition on this table. If I double-click on the first line (having no linked customer), I have a full list of customers
If I cancel the dialog an double-click on any line, I have only one record. If it's a line with a linked customer, then there is no linked customer on dialog.
And if I cancel again a redo a double-clic on any line, this time, the combo is empty !
Am I missing something here ?
Edit problem 2
Well, of course, if I modify a customer, I want the retrieve newly selected person title (in the form and then in the list).
As a simple solution, I would be OK if the combo in the form was displaying something like "
How would it be possible to to this ?
Thanks for any help !
We have validated your issue at our end and we have consider this as Bug in grid component. We have logged defect report for the same as – “ForeignKey column datas are not populated in the dropdown while editing”. At Syncfusion, we are committed to fixing all validated defects (subject to technological feasibility and Product Development Life Cycle ) and will include the defect fix in our upcoming weekly patch release scheduled on May 5th 2021. We appreciate your patience until then.
Regards,
- 4 Replies
- 2 Participants
-
GB Géraud Brugière
- Apr 14, 2021 03:14 PM UTC
- Aug 4, 2021 01:46 PM UTC