Skip to content

Commit

Permalink
Fixed an issue where the sudden appearance of the scrollbar changes t…
Browse files Browse the repository at this point in the history
…he width of the table, but not the width of the stickyHeader.
  • Loading branch information
StephenCWills committed Apr 3, 2016
1 parent 957934f commit ec8ae12
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions components/datatable/datatable.js
Original file line number Diff line number Diff line change
Expand Up @@ -628,6 +628,9 @@
var emptyColumn = $('<td></td>').attr('colspan',this.options.columns.length).appendTo(emptyRow);
emptyColumn.html(this.options.emptyMessage);
}

if (this.cloneContainer)
this.cloneContainer.width(this.table.outerWidth());
},

_getFirst: function() {
Expand Down

0 comments on commit ec8ae12

Please sign in to comment.