Disable editRecord in custom view column
I have a link with <a href> in custom view column in filamentphp table component..
How can i prevent edit form to be opened when user click the link i mentioned above?
Solution:Jump to solution
I have a link with <a href> in custom view column in filamentphp table component..
How can i prevent edit form to be opened when user click the link i mentioned above?...
9 Replies
Why are u using a separate custom view for this. U can achieve this in TextColumn itself.
i want to fetch data from api in that spesific column in client side
the main text and the url is seperated

Disable the default action via
getTableRecordAction()
and getTableRecordUrl()
on the ListPagei still want to use the getTableRecordAction to 'edit' on other column, i just want to exclude it in custom column,,
is it possible?
You could try to apply pointer-events none css
i tried this, but the custom link is not working and the edit form is showing when user click the column or the link, opposite to my intention.
Try
->disableClick()
on the ViewColumnthat's what i need.. thanks..