diff --git a/src/bootstrap-table.js b/src/bootstrap-table.js index 08ab55d19f..a1115acbda 100644 --- a/src/bootstrap-table.js +++ b/src/bootstrap-table.js @@ -1969,14 +1969,14 @@ // remove and update if ($tr.next().is('tr.detail-view')) { $this.find('i').attr('class', sprintf('%s %s', that.options.iconsPrefix, that.options.icons.detailOpen)); - that.trigger('collapse-row', index, row); + that.trigger('collapse-row', index, row, $tr.next()); $tr.next().remove(); } else { $this.find('i').attr('class', sprintf('%s %s', that.options.iconsPrefix, that.options.icons.detailClose)); $tr.after(sprintf('