FFilament•Created by This PC on 2/4/2024 in #❓┊help How to number the data in the table?
TextColumn::make('no')->state(
static function (HasTable $livewire, stdClass $rowLoop): string {
return (string) (
$rowLoop->iteration +
($livewire->getTableRecordsPerPage() * (
$livewire->getTablePage() - 1
))
);
}
),