Salesforce Fact #638 | LWC Datatable: Edit field value for only current selected row
Suppose we have a scenario where we have a single select datatable in LWC. There is a field which is editable but it should be editable only for the selected row, for rest of the rows it would be read-only.
We can implement the same with a bit of logic of JS.
Attached are the screenshots.
Comments
Post a Comment