Prevent table row onclick event to fire when clicking button inside the row August 30, 2023 by Tarik Add an event.stopPropagation(); to your buttons click handler. For more information, have a look here.