jspreadsheet / ce

Jspreadsheet is a lightweight vanilla javascript plugin to create amazing web-based interactive tables and spreadsheets compatible with other spreadsheet software.
https://bossanova.uk/jspreadsheet/v4
MIT License
6.66k stars 818 forks source link

Dropdown data refresh #1657

Closed krosoftware closed 7 months ago

krosoftware commented 8 months ago

Hello I need to update dropdown column with new data, how to do that, please?

        columns:[
            { type:'dropdown', width:250, align: 'left', autocomplete:true, multiple:false, url:'/json/myurl' },
            { type:'text', width:c_width, align: 'left' },
        ]
hodeware commented 7 months ago

You will need to repopulate the array columns.source directly. There is no method for doing that.