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
add in the ListPage
marianov24
marianov24OP2y ago
Thanks : getTableRecordActionUsing() not working getTableRecordUrlUsing() work
Hemanath
Hemanath2y ago
Added getTableRecordUrlUsing() But view action was showing any solution is available ....to disable
LeandroFerreira
you can remove viewAction in the table or use ->hidden()
Hemanath
Hemanath2y ago
Thanks.I got the solution if we add view url in the getpages function it will work.no need remove or hide...
Want results from more Discord servers?
Add your server