Skip to content

Commit

Permalink
Fixes squashed columns in IE11 after verify last record.
Browse files Browse the repository at this point in the history
  • Loading branch information
johnvanbreda committed Nov 28, 2019
1 parent 99549b2 commit 137031a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion js/indicia.datacomponents/jquery.idc.dataGrid.js
Original file line number Diff line number Diff line change
Expand Up @@ -783,7 +783,9 @@
$(el).find('.col-' + idx).css('width', (100 * (maxCharsPerCol['col-' + idx] / maxCharsPerRow)) + '%');
});
// Space header if a scroll bar visible.
$(el).find('.scroll-spacer').css('width', (tbody[0].offsetWidth - tbody[0].clientWidth) + 'px');
if (tbody.find('tr').length > 0) {
$(el).find('.scroll-spacer').css('width', (tbody[0].offsetWidth - tbody[0].clientWidth) + 'px');
}
}
}

Expand Down

0 comments on commit 137031a

Please sign in to comment.