I have a Table.Row with an onClick event handler, and a TableEditColumn with an onCommitChanges handler.
Clicking on the 'Delete' icon in the TableEditColumn causes both the onCommitChanges and onClick events to trigger.
The option is available somewhere to have the 'Delete' command preventDefault or stop propagation somehow.
Hello,
You can use stopPropagation inside your Command component as I've done for DeleteButton here. In this case the Row's onClick is not triggered any more on DeleteButton click.
Does this solution suit you?
If you have any other questions, feel free to ask them.
Yep, that works a charm. Thank you very much!
I am glad that it helped!
This thread has been automatically locked since it is closed and there has not been any recent activity. Please open a new issue for related bugs or feature requests.