Hi Marco Andrade,
Thanks for contacting Syncfusion Support.
We have validated the shared sample. We suspect that the issue will be raised due to append an incorrect element into DropDownList instead of using element.
Please refer to the below given code.
|
<code>
function dropdown(args) {
let elment = args.cell.querySelector('select');
if (elment === null) return;
let dropdown = new ej.dropdowns.DropDownList({ dataSource: roles, fields: { value: 'id', text: 'name' }, value: args.data.roleId });
dropdown.appendTo(elment);
}
</code> |
If still you have an issue in this sample, please share the roles data. It will be helpful us to provide an appropriate solution.
Saravanan G