Dynamically change a searchbar's searchContainer

Is there a way to change a searchbar’s searchContainer without re-creating the searchbar?

Reason: I have a view containing a searchbar and some tabs. Now, if you change the tab, I want the searchbar to stay visible and just change the newly shown tab’s content as searchContainer

That doesn’t do the job:

this.$$(".mytabs").on("tab:show", function() {
    var $tabEl = $$(this);
    searchBar.$searchContainer = tabEl;
});

Do I need to re-create the instance or is there a simpler solution?
(PS: The searchbar uses auto-init - if that matters)

Changing searchContainer is not enough, there are a plenty of other DOM related things. So i will recommend to destroy and init it again, or use separate searchbar for every tab