I wanted to filter data based on some query. I saw setEntries in tablebuilder but doesn't seems to work.
$entries = $educations->getByUser($id);
$table->setTableEntries($entries) I think is what you are looking for - $table in your example is really the builder. So set them on the object.