External Data Refresh

Hi Guys,

If I bring in a .json file as an options on a combo. How do a refresh that data after I have changed the file? ie; the .json file could be dynamic data.

Thanks.

var list = $$("combo").getPopup().getList();
list.clearAll();
list.load("some.json")

list is the instance of webix.ui.list, so it support all related API

Thank you maksim, how would I get the combo that is part of my data table?

                    on:{
                        'onChange': function() {
                            var columns = webix.toArray($$('timesheet_datatable').config.columns);
                            var activities_column = columns[1];

                            list.clearAll()
                        }

Please check the next snippet

http://webix.com/snippet/6af70ec4

If you are using collection to define a list of options, you can later access that object. It will be a webix.DataCollection instance, which also has API necessary for data reloading.