Hi. I am using:
* filename: ej.web.all.min.js
* version : 17.2.0.46
This is the way I am creating the spreadsheet:
$("#importSheet").ejSpreadsheet({
....
});
Somewhere else, I have this datamanager:
var dataManagerEmployees = ej.DataManager({
url: "/api/Employees",
adaptor: new ej.WebApiAdaptor()
});
which is used in a dropdownlist in an already working ejGrid:
(this is the column within the Grid):
{
field: 'Employee_Id',
headerText: 'Employees',
foreignKeyField: "Employee_Id",
foreignKeyValue: "FullName",
dataSource: dataManagerEmployees,
editType: "dropdown",
allowEditing: false,
width: 250,
visible: false
},
My questions are:
2. Can the above be done dynamically at runtime too? like clicking a button and that would add the dropdownlist to a column within the sheet. Please provide an example if so.