How I can show a loading spinner on the main view if I will load a data set into a combobox?
It depends on what moment you want the data to load.
I made a sample, where loading the data in combo starts after rendering with the help of onAfterRender event. So when the data was loaded the progress icon disappear.
It looks like you're new here. If you want to get involved, click one of these buttons!