Moved to InDesign Epub forum.
Are you interesting in fixed layout or reflowable epub? What version of InDesign?
Reflowable, so it adapts to different devises. 10.1
Also I get no level 2 on my TOC
You'll get the best results with a table if you have applied styles in table creation—paragraph styles, cell styles, tables styles.