I’m using the default SelectEditor on some columns, and I have to fetch the select options from an api. I didn’t found any easy way to make that http call after the table is created, and update my columns settings after that. I have to fetch all my options before creating my columns setting…
I would like to be able to fetch the options whenever a user actually edit such a cell. I guess using the prepare hook from the editor. But I have no way to update my column.selectOptions easily from that response in the editor.
Thanks for your reply
I kind of managed to do what I wanted!
I’m using the afterSelection hook to run my asynchronous calls to get the select options, and then I update the columns settings using updateSettings methods (well, actually it updates automatically with the vuejs settings property).
I thought updating all the columns settings because one column have new select options would be too slow to refresh but it’s actually pretty transparent.