Hi,
I am currently implementing an editable cell, with dropdown. This dropdown will have a list of drivers.
I am able to listen to startcelledit and beforefinishcelledit events. But I need to make a Backend call, on each keystore , so that Backend can give me filtered results.
Are there any input listeners supported on cell edit ?
Yes, you should rely on API of a field you are using as an editor. In case of Combo, you can listen to https://bryntum.com/docs/grid/api/Core/widget/Combo#event-input
Something like:
columns : [
{
text : 'Task',
field : 'name'
},
{
text : 'Assigned to',
field : 'employeeId',
editor : {
type : 'combo',
store : employeeStore,
// specify valueField'/'displayField' to match the data format in the employeeStore store
valueField : 'id',
displayField : 'name',
listeners : {
input : ({ source, value }) => {
// your code here
}
}
},
All the best,
Alex