function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
AichaSFAichaSF 

LWC DataBase: Hide actions for specific rows

Hello, I have LWC database and I want ti Hide actions for specific rows (depending on specific field value).User-added imageCCan someone help me.
thanks.
ANUTEJANUTEJ (Salesforce Developers) 
Hi Aicha,

>> https://developer.salesforce.com/docs/component-library/bundle/lightning-datatable/documentation

As mentioned in the above link there is a possibility to create dynamic row actions have you try checking this once? this is mentioned under Creating Dynamic Row-Level Actions in the above link.

Let me know if it helps you and close your query by marking it as the best answer so that it can help others in the future.  

Thanks
ANUTEJANUTEJ (Salesforce Developers) 
Additionally, I would suggest you to have a look at this below link as well as it seems to have a motion picture explaining it.

>> https://www.axiom-consulting.co/blog/dynamic-row-actions-with-lightning-datatable