Find attached a sample project that includes the desired implementation.
Make the needed tests locally with the project attached and let me know if further assistance is needed.
Kind Regards,
Anton Mironov
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.
Here i am attaching updated code can you please display EmployeeNames values on initial load of grid and after clicking of edit button display values on dropdown control based upon values
Thank you for the modified sample project provided.
In order to achieve the desired behavior, there are a couple of things to change. As in the Editing Custom Editor demo, the model should be used for the column of the Grid. The Employee model in this case.
You should populate a List of Employees in the Controller for the default values.
In the Editor Template, you are using "ItemViewModel" which is a different model than Employee. Use the "EmployeeName" for the "DataTextField" and remove the "ValuePrimitive" functionality.
The logic above will give the opportunity to use ClientTemplate for representing the EmlployeeName property in the DropDownTree.
The Update Action needs to be updated as well.
The displaying options are now implemented in the sample project as per the task conditions. The sample project is attached to this reply.
Make the needed tests locally with the project attached and let me know if this is the desired behavior.