PKPadmavathy Kamalanathan Syncfusion Team September 2, 2019 07:26 PM
Thanks for contacting Syncfusion Forum.
QUERY: Add Dropdown dynamically at run time to Grid
From your query we understand that you need to render dropdown list above grid and change the dataSource of grid by changing dropdown value.
This can be achieved by rendering dropdown in “dataBound” event of grid. And in the change event of dropdown, you can take instance of grid and assign dataSource to grid based on the value of dropdown.
If you have further queries, please get back to us.
JMJose MonzonSeptember 2, 2019 07:58 PM
Hello. Seems I made an error. In my question:
"How can I add at runtime a dropdownlist with the dataManagerEmployees above to ejGrid"
by "above to ejGrid" I meant "using the dataManager", and the dropdownlist control should be in a column inside the grid.
In other words, I need to add a dropdownlist (with corresponding dataManagerEmployees") at runtime, to a column inside ejGrid.
FSFarveen Sulthana Thameeztheen Basha Syncfusion Team September 3, 2019 07:34 AM
We have checked your query and you can dynamically bind the dataSource for dropdownlist inside the Grid column using dataSource property . Also you can bind remote Data while on Editing as like below KB:-