disable clickable row with getTableRecordActionUsing() not working

I want to disable clickable rows, so i follow the docs:
https://filamentphp.com/docs/2.x/tables/getting-started#clickable-rows
https://filamentphp.com/docs/2.x/tables/getting-started#clickable-rows
I add to the Resoure:
protected function getTableRecordActionUsing(): ?Closure
{
return null;
}
protected function getTableRecordActionUsing(): ?Closure
{
return null;
}
and try too:
protected function getTableRecordUrlUsing(): ?Closure
{
return null;
}
protected function getTableRecordUrlUsing(): ?Closure
{
return null;
}
But is not working
5 Replies
LeandroFerreira
LeandroFerreira15mo ago
add in the ListPage
marianov24
marianov2415mo ago
Thanks : getTableRecordActionUsing() not working getTableRecordUrlUsing() work
Hemanath
Hemanath14mo ago
Added getTableRecordUrlUsing() But view action was showing any solution is available ....to disable
LeandroFerreira
LeandroFerreira14mo ago
you can remove viewAction in the table or use ->hidden()
Hemanath
Hemanath14mo ago
Thanks.I got the solution if we add view url in the getpages function it will work.no need remove or hide...