PSPavithra Subramaniyam Syncfusion Team December 3, 2019 08:42 AM UTC
Thanks for contacting Syncfusion support.
While setting the data source to the DropDownList by using the columns.edit.params property, we need to provide a new query property for the DropDownList. Please refer to the below code example and documentation link for more information.
Please get back to us if you need any further assistance on this.
SSStephan SchradeDecember 3, 2019 10:03 PM UTC
Thank you very much.
Now my dropdown list is populated :-)
But there is still another problem:
If I open the child grid, the value (1,2) of the dropdown list is shown and not the text (Test1, Test2).
If I edit this row, then suddenly the correct text is shown.
How can I have this behavior right away from the beginning?
The same happens when editing is finished. Then the value is shown and not the text.
PSPavithra Subramaniyam Syncfusion Team December 4, 2019 08:55 AM UTC
Thanks for your update.
If you want to save and show the text, then you can set the same field for “value” and “text” property of DropDownList. Or if you want to save the “value” and display the “text” in Grid column, then you can use Foreign Key column feature of Grid component. Using this feature you can display the “text” in Grid column for corresponding “value”. Please refer to the below documentation and sample link for more information.