Get all employee names from Kendo grid and assign those values in New record employee dropdown list

1 Answer 46 Views
Grid
sandy
Top achievements
Rank 1
Iron
Veteran
sandy asked on 25 Jun 2021, 09:42 AM

Hi,

I have a kendo grid with some thousands of records with employees.

so when i click new record in kendo grid, in new row first column is employee name. here am using employeename Edit template view to display employee inside kendo grid while editing.

so is there any possibility like i want to retrieve all the employees from grid and assign those values to dropdown list ( employeename Edit template view) instead of calling to DB.

1 Answer, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 30 Jun 2021, 07:20 AM

Hello Sandy,

 

Thank you for contacting us.

Yes, dropdownlist editing is supported in Grid with 2 flavors:

1. ForeignKey column:
https://demos.telerik.com/aspnet-mvc/grid/foreignkeycolumn

2. Custom Editor:
https://demos.telerik.com/aspnet-mvc/grid/editing-custom

Feel free to check these samples and let me know if they help you.

 

Regards,
Eyup
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/.

Tags
Grid
Asked by
sandy
Top achievements
Rank 1
Iron
Veteran
Answers by
Eyup
Telerik team
Share this question
or