old function getTableContent in version 2 - Filament