Hi Supriya,
Greetings from Syncfusion support
We have checked your shared information and we could see
that the dropdown value was not showing in your application. We have checked
your shared code example and we could see that in that write() method of edit
template you are not defining value property; it was the cause of the problem.
To resolve the problem, we suggest you define the value property in the
dropdown. Please refer to the below code example for more information.
|
write: (args) => {
this.dropObj = new DropDownList({
dataSource:
this.settings.columns.jobTitle.editor.config.list,
fields: { value: "jobTitle", text: "jobId"},
value:
args.rowData.jobTitle,
change: () => {
let
tempQuery: Query = new Query().where('jobId', 'jobTitle',
this.dropObj.value);
},
placeholder: 'Select a Job',
floatLabelType: 'Never',
});
this.dropObj.appendTo(this.elem);
this.isAdd = false;
}
|
Regards,
Rajapandi R