I could not find a solution for this. I have table with four rows and each row should display different dropdown depending another cell. For example If cell data is A I need to set data in another cell from getting source
source: this.drpdwnData.filter(x => x[‘dropdown’] == ‘A’)[0][‘val’].split(’,’)
If cell data is B then I need to get source :source: this.drpdwnData.filter(x => x[‘dropdown’] == ‘B’)[0][‘val’].split(’,’)
More details:
Currently cell renders the data like this. But my requirement is If cell value is A source will be like as shown in below. If cell value is B then source will be B.
{data: ‘VPAfter’, width: ‘75px’, source: this.drpdwnData.filter(x => x[‘dropdown’] == ‘A’)[0][‘val’].split(’,’), renderer: this.selectBoxRenderer, editor: false, type: ‘dropdown’},