Use clearContents() here instead so that the table headers are kept.