Datatable Event "After Options loaded"

Hi,

I have a datatable filled with a data collection with two columns (select), which are filled with options (loaded via a php-connector to a mysql-database).
As first the datatable is filled with the datacollection and afterwards the options are loaded, I want to include a progress bar, which hides after the collections are loaded.
Is there a event for “after options loaded”?

Thanks,
Martin

Nope, there is no event.
Still, each component provides a promise, so, assuming that you have a datatable and collections data1 and data2, you can use code like following.

webix.promise.all([
  datatable.waitData, data1.waitData, data2.waitData
]).then(function(){
    //all is ready
});

Hi Maksim,

thanks a lot!
Great solution!

Thanks,
Martin