In case of using combo in datatable, we would like to ask how to set the combo option differently for each row. As shown in the attached image, it is necessary to implement the options of the combo in the second column to appear differently depending on the value of the first column.


Good day @wood242,
I suggest to solve this task by filtering the options of the dependent combo box before opening the editor:
"onBeforeEditStart":function(id){
//filter the cities list to show the necessary values
if(id.column=="city"){
var country = this.getItem(id.row).country;
var options = this.getColumnConfig("city").collection;
options.filter(function(obj){
return obj.country == country;
});
}
}
Please, check out the snippet with sample: Code Snippet
Thank you for your kindness.