Salesforce Fact #336 | Make lightning datatable column editable conditionally

Suppose we have a use case in LWC where we would like to enable editing a column in lightning datatable based on a toggle switch. We can implement that logic in JS.

Attached are the screenshots.





 

Comments

Popular posts from this blog

Salesforce Fact #218 | Blank picklist value is actually NULL

Salesforce Fact #929 | Nth highest in screen flow

Salesforce Fact #989 | New delete files permission