update table component (without scrollbar) and write tests for fanOut