The solution for me: putting the stuff in a loader. When I want to recreate the table, I just set the loader's source to "" and back.