© 2026 Hedgehog Software, LLC
getTableRecordAction
->extraCellAttributes(fn ($record) => ['x-on:click' => "areRecordsSelected([{$record->id}]) ? deselectRecords([{$record->id}]) : selectRecords([{$record->id}])"])
protected function getTableRecordActionUsing(): ?\Closure { return fn ($recordKey): string => "areRecordsSelected([{$recordKey}]) ? deselectRecords([{$recordKey}]) : selectRecords([{$recordKey}])"; }