Load select options asynchronously in react

Hi, I have to fetch the select options from an api for some columns. I didn’t found any easy way to make that http call after the table is created, I am fetching all the data before table is created.

Hi @charan.t

Please share a code demo of your current implementation. In general, to get the options from the select cell type you would need to use the getCellsMeta() hook: Core API reference - JavaScript Data Grid | Handsontable

what I meant is that the options (source) for select/autofill columns need to be fetched from an api when the user starts editing the cell

@charan.t

You can check if the user starts editing the cell with this method: BaseEditor - JavaScript Data Grid | Handsontable and the source values for those cell types can be stored as an array of arrays in a variable so they can be fetched from there.