We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5c4aa65 commit 0654dccCopy full SHA for 0654dcc
1 file changed
source/js/DataController.js
@@ -166,7 +166,8 @@ DataController.prototype.sortByColumn = function (columnIndex) {
166
return order*b[xIndex].value - order*a[xIndex].value;
167
});
168
169
- this.data.rawData = [this.data._rawDataOrigin[0]].concat(newRawData);
+ this.data.rawData = this.data._rawDataOrigin.slice(0, this.data.info.topHeaderRowsNumber)
170
+ .concat(newRawData);
171
172
this._trigger();
173
0 commit comments