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 #192 | Call batch apex from flow

Salesforce Fact #457 | Get current user role name in flow