I have an Ikea dining table that folds down to 40x 24 when not in use (I think I've closed it twice!!) But I have open bookcases. I think the doors would get in the way. Instead, I made a cover out of a plastic, felt-backed table cloth. It keeps my fabric dust free, and I have an automatic design wall when I turn it inside out. I just measured the height that I needed, plus the top and then made pleats on the side--like how you would form the bottom of a cloth bag.
I do have a re purposed bathroom linen tower with a door and am always annoyed that I have to move something to get into it.