Hello, we have defined a column for a grid. The data for the dropdown come from a Rest API and are dependent on other properties.
Is there a chance to update the data before switching into the edit mode but the grid is already displayed?
<e-column field='Project' headerText='Project' width='200px' popupwidth='600px' editType='dropdownedit' [edit]='m_oProjectParams'></e-column>
this.m_oProjectParams = {
params: {
actionComplete: () => false,
allowFiltering: true,
dataSource: new DataManager(this.m_oProjectData),
fields: { text: 'Title', value: 'Number' },
width: '500%',
filtering: (e) => {
let query: Query = new Query();
query = (e.text !== '') ? query.where('Title', 'contains', e.text, true) : query;
e.updateData(new DataManager(this.this.m_oProjectData), query);
},
query: new Query()
}
}