0

I am using lightning:datatable to display data and it has the ability to inline edit. I was wondering if there's some sort of event handler when a cell is being edited (when the user clicks the pencil icon on the table cell for inline edit)?

The reason I asked is I would like to disable a button outside of the datable during an inline edit. I looked through the lightning:datatable documentation but no luck.

Thanks in Advance

0

You can use oncellchange here.

From documentation (emphasis mine):

You can handle the oncancel, oncellchange, and onsave actions when the cell value changes or is saved.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.