Hi Sean,
Greetings from Syncfusion support.
We have prepared a sample using drop down control in the TaskName column using the edit params. The following code snippets demonstrate the solution.
App.vue
<e-columns>
<e-column field="TaskID"></e-column>
<e-column
field="TaskName"
:editType="dropdownedit"
:edit="dpParams"
></e-column>
<e-column field="StartDate"></e-column>
<e-column field="Duration"></e-column>
<e-column field="Progress"></e-column>
</e-columns>
|
dpParams: {
create: () => {
elem = document.createElement("input");
return elem;
},
read: () => {
return dropdownlistObj.text;
},
destroy: () => {
dropdownlistObj.destroy();
},
write: () => {
var ganttChart = document.getElementById("gantt").ej2_instances[0];
dropdownlistObj = new DropDownList({
dataSource: ganttChart.treeGrid.grid.dataSource,
fields: { value: "TaskName" },
floatLabelType: "Auto",
});
dropdownlistObj.appendTo(elem);
},
}
|
Please find the sample from the below link.
We will fix the documentation and refresh it online on May 26, 2021.
We appreciate your patience until then.
Regards,
Monisha.