Hi TaeWook,
Greetings from Syncfusion support.
Query: Modify drop-down cells in the grid
From your query, we understand that you want to save the dropdown
cell immediately after selecting the dropdown value. You can achieve your requirement
using saveCell method of grid in the change event of dropdown component.
new ej.dropdowns.DropDownList({
dataSource: country,
fields: { value: 'countryId', text: 'countryName' },
change: function(){
var grid = document.getElementById("Grid").ej2_instances[0];
grid.saveCell(); //
saveCell method
},
placeholder: 'Select a country',
floatLabelType: 'Never'
});
|
Please refer the attached sample.
Regards,
Vinitha Balasubramanian.
If this post is helpful, please consider Accepting it as the
solution so that other members can locate it more quickly.
Attachment:
core_demo_saveCell_467dd778.zip