Run a javascript function when table is redrawn - Filament